#998F2A

Closest named color: Dark Mustard (#A88905). oklch(64% 0.119 103.6), rgb(153, 143, 42).

Aa

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

About this color

#998F2A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.119 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.026 away. Black text reads best on it, at 6.31:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.31:1
White text3.32:1

Values

HEX#998F2A
RGBrgb(153, 143, 42)
HSLhsl(55, 57%, 38%)
OKLCHoklch(64% 0.119 103.6)

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 #998F2A 3.32:1 AA large text Lc -66.0 Content text, not long reading
Black text on #998F2A 6.31:1 AA Lc 43.5 Non-text elements, placeholder text
#998F2A text on white 3.32:1 AA large text Lc 60.5 Content text, not long reading
#998F2A text on black 6.31:1 AA Lc -41.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

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DCDBC2

    oklch(88.6% 0.033 105.2)

  4. Step 300

    300

    #C7C398

    oklch(81% 0.058 103.2)

  5. Step 400

    400

    #AAA35C

    oklch(70.5% 0.093 103.5)

  6. Step 500

    500 (this color)

    #998F2A

    oklch(64% 0.119 103.6)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494303

    oklch(37.7% 0.078 103.6)

  11. Step 950

    950

    #2B2707

    oklch(27% 0.048 102.2)

Export this scale for Tailwind in the Tailwind colors tool

#998F2A 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)#9C8A190.014
Deuteranopia (no green cones)#9F8F310.012
Tritanopia (no blue cones)#A5857B0.109
Achromatopsia (no color)#8D8D8D0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #998F2A

    #998F2A

    oklch(64% 0.119 103.6)

  • #8381D2

    #8381D2

    oklch(63.9% 0.12 283.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998F2A

    #998F2A

    oklch(64% 0.119 103.6)

  • #B7802B

    #B7802B

    oklch(64.1% 0.119 73.8)

  • #6E9C4D

    #6E9C4D

    oklch(64.1% 0.12 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #998F2A

    #998F2A

    oklch(64% 0.119 103.6)

  • #558FD3

    #558FD3

    oklch(64% 0.12 253.5)

  • #A675BF

    #A675BF

    oklch(64% 0.12 313.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998F2A

    #998F2A

    oklch(64% 0.119 103.6)

  • #069BC1

    #069BC1

    oklch(64% 0.119 223.5)

  • #BE6D9E

    #BE6D9E

    oklch(64% 0.119 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998F2A

    #998F2A

    oklch(64% 0.119 103.6)

  • #00A19F

    #00A19F

    oklch(64.1% 0.11 193.2)

  • #8381D2

    #8381D2

    oklch(63.9% 0.12 283.6)

  • #C96C77

    #C96C77

    oklch(64% 0.118 13.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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