#998F28

Closest named color: Dark Mustard (#A88905). oklch(64% 0.12 103.7), rgb(153, 143, 40).

Aa

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

About this color

#998F28 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.120 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.120)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.31:1
White text3.32:1

Values

HEX#998F28
RGBrgb(153, 143, 40)
HSLhsl(55, 59%, 38%)
OKLCHoklch(64% 0.12 103.7)

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

    #C7C397

    oklch(80.9% 0.059 103.3)

  5. Step 400

    400

    #AAA45C

    oklch(70.8% 0.094 104.3)

  6. Step 500

    500 (this color)

    #998F28

    oklch(64% 0.12 103.7)

  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

    #494302

    oklch(37.7% 0.078 103.6)

  11. Step 950

    950

    #2B2706

    oklch(26.9% 0.049 102.4)

Export this scale for Tailwind in the Tailwind colors tool

#998F28 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)#9C8A160.014
Deuteranopia (no green cones)#9F8F2F0.011
Tritanopia (no blue cones)#A5857B0.110
Achromatopsia (no color)#8D8D8D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #998F28

    #998F28

    oklch(64% 0.12 103.7)

  • #8381D2

    #8381D2

    oklch(63.9% 0.12 283.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #998F28

    #998F28

    oklch(64% 0.12 103.7)

  • #B78029

    #B78029

    oklch(64% 0.12 74.2)

  • #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°).

  • #998F28

    #998F28

    oklch(64% 0.12 103.7)

  • #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.

  • #998F28

    #998F28

    oklch(64% 0.12 103.7)

  • #009BC1

    #009BC1

    oklch(64% 0.12 223.3)

  • #BE6D9E

    #BE6D9E

    oklch(64% 0.119 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #998F28

    #998F28

    oklch(64% 0.12 103.7)

  • #00A19F

    #00A19F

    oklch(64.1% 0.11 193.2)

  • #8381D2

    #8381D2

    oklch(63.9% 0.12 283.6)

  • #CA6B76

    #CA6B76

    oklch(64% 0.12 13.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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