#988D2A

Closest named color: Dark Mustard (#A88905). oklch(63.5% 0.117 102.9), rgb(152, 141, 42).

Aa

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

About this color

#988D2A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.117 and its hue 103°. 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.17:1.

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

Values

HEX#988D2A
RGBrgb(152, 141, 42)
HSLhsl(54, 57%, 38%)
OKLCHoklch(63.5% 0.117 102.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 #988D2A 3.39:1 AA large text Lc -66.8 Content text, not long reading
Black text on #988D2A 6.17:1 AA Lc 42.7 Non-text elements, placeholder text
#988D2A text on white 3.39:1 AA large text Lc 61.4 Content text, not long reading
#988D2A text on black 6.17:1 AA Lc -40.3 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

    #ECEBDE

    oklch(93.7% 0.017 103.2)

  3. Step 200

    200

    #DDDAC3

    oklch(88.5% 0.031 100.9)

  4. Step 300

    300

    #C7C398

    oklch(81% 0.058 103.2)

  5. Step 400

    400

    #ABA35D

    oklch(70.7% 0.092 102.7)

  6. Step 500

    500 (this color)

    #988D2A

    oklch(63.5% 0.117 102.9)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494305

    oklch(37.7% 0.076 103.4)

  11. Step 950

    950

    #2B2707

    oklch(27% 0.048 102.2)

Export this scale for Tailwind in the Tailwind colors tool

#988D2A 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)#9A881A0.014
Deuteranopia (no green cones)#9D8D310.010
Tritanopia (no blue cones)#A483790.107
Achromatopsia (no color)#8B8B8B0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #988D2A

    #988D2A

    oklch(63.5% 0.117 102.9)

  • #8180CF

    #8180CF

    oklch(63.4% 0.117 283.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #988D2A

    #988D2A

    oklch(63.5% 0.117 102.9)

  • #B57E2C

    #B57E2C

    oklch(63.4% 0.117 73)

  • #6E9A4C

    #6E9A4C

    oklch(63.6% 0.118 133)

Open the analogous palette in the generator

Split complementary

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

  • #988D2A

    #988D2A

    oklch(63.5% 0.117 102.9)

  • #548ED0

    #548ED0

    oklch(63.6% 0.117 252.9)

  • #A374BD

    #A374BD

    oklch(63.4% 0.118 312.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #988D2A

    #988D2A

    oklch(63.5% 0.117 102.9)

  • #0699BE

    #0699BE

    oklch(63.4% 0.117 223.2)

  • #BB6C9D

    #BB6C9D

    oklch(63.4% 0.117 343.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #988D2A

    #988D2A

    oklch(63.5% 0.117 102.9)

  • #009F9C

    #009F9C

    oklch(63.5% 0.109 192.4)

  • #8180CF

    #8180CF

    oklch(63.4% 0.117 283.1)

  • #C76B76

    #C76B76

    oklch(63.6% 0.117 13.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #988D2A 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.