#998F51

Closest named color: Dark Sand (#A88F59). oklch(64.5% 0.083 100.3), rgb(153, 143, 81).

Aa

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

About this color

#998F51 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.083 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.027 away. Black text reads best on it, at 6.40:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.40:1
White text3.28:1

Values

HEX#998F51
RGBrgb(153, 143, 81)
HSLhsl(52, 31%, 46%)
OKLCHoklch(64.5% 0.083 100.3)

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 #998F51 3.28:1 AA large text Lc -65.5 Content text, not long reading
Black text on #998F51 6.40:1 AA Lc 44.0 Non-text elements, placeholder text
#998F51 text on white 3.28:1 AA large text Lc 60.1 Content text, not long reading
#998F51 text on black 6.40:1 AA Lc -41.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC9

    oklch(88.5% 0.023 101.4)

  4. Step 300

    300

    #C6C2A4

    oklch(80.9% 0.041 101)

  5. Step 400

    400

    #AAA272

    oklch(70.7% 0.066 99.8)

  6. Step 500

    500 (this color)

    #998F51

    oklch(64.5% 0.083 100.3)

  7. Step 600

    600

    #7F742F

    oklch(55.5% 0.09 100.3)

  8. Step 700

    700

    #6C6222

    oklch(49.2% 0.084 100.4)

  9. Step 800

    800

    #58501E

    oklch(42.8% 0.07 100.3)

  10. Step 900

    900

    #48421E

    oklch(37.6% 0.054 100)

  11. Step 950

    950

    #2A2712

    oklch(27% 0.035 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#998F51 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)#998C4C0.008
Deuteranopia (no green cones)#9C90540.007
Tritanopia (no blue cones)#A387800.076
Achromatopsia (no color)#8E8E8E0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #998F51

    #998F51

    oklch(64.5% 0.083 100.3)

  • #8488C0

    #8488C0

    oklch(64.5% 0.084 280.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998F51

    #998F51

    oklch(64.5% 0.083 100.3)

  • #AE8553

    #AE8553

    oklch(64.5% 0.084 71)

  • #7C9861

    #7C9861

    oklch(64.4% 0.084 130.4)

Open the analogous palette in the generator

Split complementary

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

  • #998F51

    #998F51

    oklch(64.5% 0.083 100.3)

  • #6691BF

    #6691BF

    oklch(64.4% 0.084 250.9)

  • #9D7FB4

    #9D7FB4

    oklch(64.4% 0.084 309.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998F51

    #998F51

    oklch(64.5% 0.083 100.3)

  • #4C99B1

    #4C99B1

    oklch(64.4% 0.084 220.9)

  • #B0799D

    #B0799D

    oklch(64.3% 0.084 340.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998F51

    #998F51

    oklch(64.5% 0.083 100.3)

  • #479E99

    #479E99

    oklch(64.5% 0.084 190.2)

  • #8488C0

    #8488C0

    oklch(64.5% 0.084 280.6)

  • #BA7882

    #BA7882

    oklch(64.4% 0.084 9.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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