#978A2D

Closest named color: Dark Mustard (#A88905). oklch(62.7% 0.112 101.2), rgb(151, 138, 45).

Aa

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

About this color

#978A2D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.112 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.98:1.

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

Values

HEX#978A2D
RGBrgb(151, 138, 45)
HSLhsl(53, 54%, 38%)
OKLCHoklch(62.7% 0.112 101.2)

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 #978A2D 3.50:1 AA large text Lc -68.0 Content text, not long reading
Black text on #978A2D 5.98:1 AA Lc 41.5 Non-text elements, placeholder text
#978A2D text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#978A2D text on black 5.98: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

    #ECEADE

    oklch(93.5% 0.016 99)

  3. Step 200

    200

    #DDDAC3

    oklch(88.5% 0.031 100.9)

  4. Step 300

    300

    #C8C29A

    oklch(80.9% 0.054 100.4)

  5. Step 400

    400

    #ACA360

    oklch(70.8% 0.089 101.7)

  6. Step 500

    500 (this color)

    #978A2D

    oklch(62.7% 0.112 101.2)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4A4209

    oklch(37.6% 0.073 100.8)

  11. Step 950

    950

    #2B2709

    oklch(27% 0.046 101.7)

Export this scale for Tailwind in the Tailwind colors tool

#978A2D 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)#9786200.012
Deuteranopia (no green cones)#9B8B330.009
Tritanopia (no blue cones)#A380770.103
Achromatopsia (no color)#8989890.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #978A2D

    #978A2D

    oklch(62.7% 0.112 101.2)

  • #7D7FCB

    #7D7FCB

    oklch(62.7% 0.114 281.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978A2D

    #978A2D

    oklch(62.7% 0.112 101.2)

  • #B27C31

    #B27C31

    oklch(62.7% 0.112 71.7)

  • #70964B

    #70964B

    oklch(62.7% 0.112 131.1)

Open the analogous palette in the generator

Split complementary

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

  • #978A2D

    #978A2D

    oklch(62.7% 0.112 101.2)

  • #518CCA

    #518CCA

    oklch(62.7% 0.113 251.1)

  • #9E74BA

    #9E74BA

    oklch(62.7% 0.112 311)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978A2D

    #978A2D

    oklch(62.7% 0.112 101.2)

  • #1197B8

    #1197B8

    oklch(62.7% 0.112 221.2)

  • #B66C9C

    #B66C9C

    oklch(62.8% 0.112 341.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978A2D

    #978A2D

    oklch(62.7% 0.112 101.2)

  • #009D98

    #009D98

    oklch(62.8% 0.108 190.8)

  • #7D7FCB

    #7D7FCB

    oklch(62.7% 0.114 281.5)

  • #C26A77

    #C26A77

    oklch(62.8% 0.112 11.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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