#978902

Closest named color: Dark Mustard (#A88905). oklch(62.3% 0.13 102.2), rgb(151, 137, 2).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.89:1
White text3.56:1

Values

HEX#978902
RGBrgb(151, 137, 2)
HSLhsl(54, 97%, 30%)
OKLCHoklch(62.3% 0.13 102.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 #978902 3.56:1 AA large text Lc -68.5 Content text, not long reading
Black text on #978902 5.89:1 AA Lc 41.1 Non-text elements, placeholder text
#978902 text on white 3.56:1 AA large text Lc 63.0 Content text, not long reading
#978902 text on black 5.89:1 AA Lc -38.7 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDAC0

    oklch(88.4% 0.035 101.7)

  4. Step 300

    300

    #C8C393

    oklch(80.9% 0.064 102.7)

  5. Step 400

    400

    #ADA354

    oklch(70.7% 0.101 102.1)

  6. Step 500

    500 (this color)

    #978902

    oklch(62.3% 0.13 102.2)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  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

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2702

    oklch(27% 0.054 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#978902 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)#9784000.014
Deuteranopia (no green cones)#9B8A150.009
Tritanopia (no blue cones)#A47E740.120
Achromatopsia (no color)#8888880.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #978902

    #978902

    oklch(62.3% 0.13 102.2)

  • #7C7BD3

    #7C7BD3

    oklch(62.3% 0.131 282.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978902

    #978902

    oklch(62.3% 0.13 102.2)

  • #B6780D

    #B6780D

    oklch(62.2% 0.13 72.3)

  • #69973E

    #69973E

    oklch(62.3% 0.13 132)

Open the analogous palette in the generator

Split complementary

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

  • #978902

    #978902

    oklch(62.3% 0.13 102.2)

  • #478AD3

    #478AD3

    oklch(62.3% 0.13 252.4)

  • #A16EBF

    #A16EBF

    oklch(62.2% 0.13 312.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978902

    #978902

    oklch(62.3% 0.13 102.2)

  • #0096B9

    #0096B9

    oklch(62.4% 0.115 222.1)

  • #BB659D

    #BB659D

    oklch(62.3% 0.13 341.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978902

    #978902

    oklch(62.3% 0.13 102.2)

  • #009B98

    #009B98

    oklch(62.3% 0.107 192.3)

  • #7C7BD3

    #7C7BD3

    oklch(62.3% 0.131 282.4)

  • #C86272

    #C86272

    oklch(62.2% 0.13 11.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #978902.

Similar named colors

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

Use #978902 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.