#998E2B

Closest named color: Dark Mustard (#A88905). oklch(63.8% 0.117 102.9), rgb(153, 142, 43).

Aa

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

About this color

#998E2B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, 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.25:1.

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

Values

HEX#998E2B
RGBrgb(153, 142, 43)
HSLhsl(54, 56%, 38%)
OKLCHoklch(63.8% 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 #998E2B 3.35:1 AA large text Lc -66.4 Content text, not long reading
Black text on #998E2B 6.25:1 AA Lc 43.2 Non-text elements, placeholder text
#998E2B text on white 3.35:1 AA large text Lc 60.9 Content text, not long reading
#998E2B text on black 6.25:1 AA Lc -40.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

    #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)

    #998E2B

    oklch(63.8% 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

    #494304

    oklch(37.7% 0.077 103.5)

  11. Step 950

    950

    #2B2707

    oklch(27% 0.048 102.2)

Export this scale for Tailwind in the Tailwind colors tool

#998E2B 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)#9B891B0.014
Deuteranopia (no green cones)#9F8E310.011
Tritanopia (no blue cones)#A5847A0.107
Achromatopsia (no color)#8C8C8C0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #998E2B

    #998E2B

    oklch(63.8% 0.117 102.9)

  • #8281D0

    #8281D0

    oklch(63.7% 0.117 283.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998E2B

    #998E2B

    oklch(63.8% 0.117 102.9)

  • #B67F2D

    #B67F2D

    oklch(63.8% 0.117 73.1)

  • #6F9B4D

    #6F9B4D

    oklch(63.9% 0.118 133)

Open the analogous palette in the generator

Split complementary

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

  • #998E2B

    #998E2B

    oklch(63.8% 0.117 102.9)

  • #558FD1

    #558FD1

    oklch(63.9% 0.117 252.8)

  • #A475BE

    #A475BE

    oklch(63.7% 0.118 312.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #998E2B

    #998E2B

    oklch(63.8% 0.117 102.9)

  • #099ABF

    #099ABF

    oklch(63.7% 0.117 223.1)

  • #BC6D9E

    #BC6D9E

    oklch(63.7% 0.117 343)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998E2B

    #998E2B

    oklch(63.8% 0.117 102.9)

  • #00A09E

    #00A09E

    oklch(63.8% 0.109 193.2)

  • #8281D0

    #8281D0

    oklch(63.7% 0.117 283.1)

  • #C86C77

    #C86C77

    oklch(63.9% 0.117 13.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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