#978B34

Closest named color: Dark Mustard (#A88905). oklch(63% 0.108 101.4), rgb(151, 139, 52).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.108)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.05:1
White text3.46:1

Values

HEX#978B34
RGBrgb(151, 139, 52)
HSLhsl(53, 49%, 40%)
OKLCHoklch(63% 0.108 101.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 #978B34 3.46:1 AA large text Lc -67.6 Content text, not long reading
Black text on #978B34 6.05:1 AA Lc 41.9 Non-text elements, placeholder text
#978B34 text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#978B34 text on black 6.05:1 AA Lc -39.6 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

    #C7C29B

    oklch(80.8% 0.053 101.4)

  5. Step 400

    400

    #ABA363

    oklch(70.7% 0.085 102.1)

  6. Step 500

    500 (this color)

    #978B34

    oklch(63% 0.108 101.4)

  7. Step 600

    600

    #827500

    oklch(55.7% 0.116 101.7)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A420E

    oklch(37.6% 0.07 100.2)

  11. Step 950

    950

    #2B270A

    oklch(27% 0.045 101.5)

Export this scale for Tailwind in the Tailwind colors tool

#978B34 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)#9887290.011
Deuteranopia (no green cones)#9B8C390.009
Tritanopia (no blue cones)#A281790.100
Achromatopsia (no color)#8A8A8A0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #978B34

    #978B34

    oklch(63% 0.108 101.4)

  • #7E81C9

    #7E81C9

    oklch(63.1% 0.108 281)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978B34

    #978B34

    oklch(63% 0.108 101.4)

  • #B27D37

    #B27D37

    oklch(63% 0.108 71)

  • #71974F

    #71974F

    oklch(63.1% 0.109 131.7)

Open the analogous palette in the generator

Split complementary

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

  • #978B34

    #978B34

    oklch(63% 0.108 101.4)

  • #558DC8

    #558DC8

    oklch(63% 0.107 251)

  • #9F76B9

    #9F76B9

    oklch(63.1% 0.108 311.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978B34

    #978B34

    oklch(63% 0.108 101.4)

  • #2297B7

    #2297B7

    oklch(62.9% 0.108 221.6)

  • #B56E9C

    #B56E9C

    oklch(63% 0.108 341.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978B34

    #978B34

    oklch(63% 0.108 101.4)

  • #039D99

    #039D99

    oklch(62.9% 0.108 191.6)

  • #7E81C9

    #7E81C9

    oklch(63.1% 0.108 281)

  • #C16C78

    #C16C78

    oklch(63% 0.108 11.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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