#978A2F

Closest named color: Dark Mustard (#A88905). oklch(62.8% 0.111 101.1), rgb(151, 138, 47).

Aa

Black text reads best on this color (5.99:1).

About this color

#978A2F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.111 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.029 away. Black text reads best on it, at 5.99:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.99:1
White text3.50:1

Values

HEX#978A2F
RGBrgb(151, 138, 47)
HSLhsl(52, 53%, 39%)
OKLCHoklch(62.8% 0.111 101.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #978A2F 3.50:1 AA large text Lc -68.0 Content text, not long reading
Black text on #978A2F 5.99:1 AA Lc 41.6 Non-text elements, placeholder text
#978A2F text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#978A2F text on black 5.99:1 AA Lc -39.2 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC4

    oklch(88.5% 0.03 100.6)

  4. Step 300

    300

    #C8C29A

    oklch(80.9% 0.054 100.4)

  5. Step 400

    400

    #ACA261

    oklch(70.6% 0.086 100.6)

  6. Step 500

    500 (this color)

    #978A2F

    oklch(62.8% 0.111 101.1)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4A420A

    oklch(37.6% 0.072 100.7)

  11. Step 950

    950

    #2B2709

    oklch(27% 0.046 101.7)

Export this scale for Tailwind in the Tailwind colors tool

#978A2F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9786230.012
Deuteranopia (no green cones)#9B8B340.008
Tritanopia (no blue cones)#A380770.102
Achromatopsia (no color)#8989890.111

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #978A2F

    #978A2F

    oklch(62.8% 0.111 101.1)

  • #7D80CA

    #7D80CA

    oklch(62.8% 0.111 280.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978A2F

    #978A2F

    oklch(62.8% 0.111 101.1)

  • #B27C33

    #B27C33

    oklch(62.8% 0.111 71.2)

  • #70964C

    #70964C

    oklch(62.7% 0.111 131.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #978A2F

    #978A2F

    oklch(62.8% 0.111 101.1)

  • #528CC9

    #528CC9

    oklch(62.7% 0.111 251.1)

  • #9E74BA

    #9E74BA

    oklch(62.7% 0.112 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978A2F

    #978A2F

    oklch(62.8% 0.111 101.1)

  • #1697B7

    #1697B7

    oklch(62.7% 0.111 220.7)

  • #B56C9C

    #B56C9C

    oklch(62.7% 0.111 341)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978A2F

    #978A2F

    oklch(62.8% 0.111 101.1)

  • #009D98

    #009D98

    oklch(62.8% 0.108 190.8)

  • #7D80CA

    #7D80CA

    oklch(62.8% 0.111 280.9)

  • #C16A78

    #C16A78

    oklch(62.7% 0.111 10.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #978A2F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #978A2F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.