#978D3B

Closest named color: Dark Mustard (#A88905). oklch(63.5% 0.104 102.4), rgb(151, 141, 59).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.18:1
White text3.39:1

Values

HEX#978D3B
RGBrgb(151, 141, 59)
HSLhsl(53, 44%, 41%)
OKLCHoklch(63.5% 0.104 102.4)

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 #978D3B 3.39:1 AA large text Lc -66.8 Content text, not long reading
Black text on #978D3B 6.18:1 AA Lc 42.7 Non-text elements, placeholder text
#978D3B text on white 3.39:1 AA large text Lc 61.3 Content text, not long reading
#978D3B text on black 6.18:1 AA Lc -40.3 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C6C29D

    oklch(80.8% 0.05 102.3)

  5. Step 400

    400

    #AAA366

    oklch(70.7% 0.082 102.6)

  6. Step 500

    500 (this color)

    #978D3B

    oklch(63.5% 0.104 102.4)

  7. Step 600

    600

    #80750D

    oklch(55.5% 0.113 102.6)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585006

    oklch(42.6% 0.086 102.5)

  10. Step 900

    900

    #494311

    oklch(37.8% 0.068 102.4)

  11. Step 950

    950

    #2A270C

    oklch(26.9% 0.043 103)

Export this scale for Tailwind in the Tailwind colors tool

#978D3B 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)#9989320.011
Deuteranopia (no green cones)#9C8D3F0.009
Tritanopia (no blue cones)#A2847B0.094
Achromatopsia (no color)#8B8B8B0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #978D3B

    #978D3B

    oklch(63.5% 0.104 102.4)

  • #8182C8

    #8182C8

    oklch(63.5% 0.104 282.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978D3B

    #978D3B

    oklch(63.5% 0.104 102.4)

  • #B1803D

    #B1803D

    oklch(63.5% 0.103 72.5)

  • #739854

    #739854

    oklch(63.5% 0.104 132.1)

Open the analogous palette in the generator

Split complementary

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

  • #978D3B

    #978D3B

    oklch(63.5% 0.104 102.4)

  • #5B8EC8

    #5B8EC8

    oklch(63.5% 0.104 252.6)

  • #A078B8

    #A078B8

    oklch(63.6% 0.103 312.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978D3B

    #978D3B

    oklch(63.5% 0.104 102.4)

  • #2F98B8

    #2F98B8

    oklch(63.5% 0.104 222.7)

  • #B6719C

    #B6719C

    oklch(63.6% 0.103 342.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978D3B

    #978D3B

    oklch(63.5% 0.104 102.4)

  • #1C9E9B

    #1C9E9B

    oklch(63.5% 0.104 192.4)

  • #8182C8

    #8182C8

    oklch(63.5% 0.104 282.4)

  • #C16F79

    #C16F79

    oklch(63.5% 0.104 12.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #978D3B 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.