#998A52

Closest named color: Coffee (#A6814C). oklch(63.4% 0.077 94.9), rgb(153, 138, 82).

Aa

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

About this color

#998A52 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.077 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.029 away. Black text reads best on it, at 6.11:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameCoffee (#A6814C)
Black text6.11:1
White text3.43:1

Values

HEX#998A52
RGBrgb(153, 138, 82)
HSLhsl(47, 30%, 46%)
OKLCHoklch(63.4% 0.077 94.9)

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 #998A52 3.43:1 AA large text Lc -67.3 Content text, not long reading
Black text on #998A52 6.11:1 AA Lc 42.2 Non-text elements, placeholder text
#998A52 text on white 3.43:1 AA large text Lc 61.9 Content text, not long reading
#998A52 text on black 6.11:1 AA Lc -39.8 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9CA

    oklch(88.4% 0.021 94.5)

  4. Step 300

    300

    #C8C1A6

    oklch(80.9% 0.038 95.1)

  5. Step 400

    400

    #ACA175

    oklch(70.7% 0.061 95.8)

  6. Step 500

    500 (this color)

    #998A52

    oklch(63.4% 0.077 94.9)

  7. Step 600

    600

    #837335

    oklch(55.7% 0.084 95)

  8. Step 700

    700

    #6F6027

    oklch(49.1% 0.078 94.6)

  9. Step 800

    800

    #5A4E22

    oklch(42.6% 0.064 94.3)

  10. Step 900

    900

    #4A4121

    oklch(37.6% 0.05 94.1)

  11. Step 950

    950

    #2B2614

    oklch(26.9% 0.031 94.4)

Export this scale for Tailwind in the Tailwind colors tool

#998A52 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)#95884E0.010
Deuteranopia (no green cones)#998C540.005
Tritanopia (no blue cones)#A3827C0.071
Achromatopsia (no color)#8A8A8A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #998A52

    #998A52

    oklch(63.4% 0.077 94.9)

  • #7C87BA

    #7C87BA

    oklch(63.4% 0.078 274.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998A52

    #998A52

    oklch(63.4% 0.077 94.9)

  • #AB8157

    #AB8157

    oklch(63.4% 0.077 65.7)

  • #80935E

    #80935E

    oklch(63.5% 0.078 124.6)

Open the analogous palette in the generator

Split complementary

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

  • #998A52

    #998A52

    oklch(63.4% 0.077 94.9)

  • #618FB6

    #618FB6

    oklch(63.2% 0.077 245)

  • #957FB0

    #957FB0

    oklch(63.5% 0.076 304.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998A52

    #998A52

    oklch(63.4% 0.077 94.9)

  • #4D96A8

    #4D96A8

    oklch(63.3% 0.077 215.9)

  • #A8799D

    #A8799D

    oklch(63.5% 0.077 335.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998A52

    #998A52

    oklch(63.4% 0.077 94.9)

  • #4D9A90

    #4D9A90

    oklch(63.4% 0.078 184.4)

  • #7C87BA

    #7C87BA

    oklch(63.4% 0.078 274.6)

  • #B37684

    #B37684

    oklch(63.3% 0.079 4.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #998A52 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.