#8D8731

Closest named color: Drab (#828344). oklch(61.2% 0.107 105.3), rgb(141, 135, 49).

Aa

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

About this color

#8D8731 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.107 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.028 away. Black text reads best on it, at 5.64:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.64:1
White text3.72:1

Values

HEX#8D8731
RGBrgb(141, 135, 49)
HSLhsl(56, 48%, 37%)
OKLCHoklch(61.2% 0.107 105.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 #8D8731 3.72:1 AA large text Lc -70.2 Content text, not long reading
Black text on #8D8731 5.64:1 AA Lc 39.4 Non-text elements, placeholder text
#8D8731 text on white 3.72:1 AA large text Lc 64.7 Content text, not long reading
#8D8731 text on black 5.64:1 AA Lc -37.0 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

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C5C39C

    oklch(80.9% 0.053 105.1)

  5. Step 400

    400

    #A8A465

    oklch(70.7% 0.084 105.2)

  6. Step 500

    500 (this color)

    #8D8731

    oklch(61.2% 0.107 105.3)

  7. Step 600

    600

    #7E7606

    oklch(55.6% 0.116 104.8)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565102

    oklch(42.6% 0.09 105.5)

  10. Step 900

    900

    #474310

    oklch(37.6% 0.069 104.8)

  11. Step 950

    950

    #2A280B

    oklch(27.2% 0.045 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#8D8731 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)#9282260.014
Deuteranopia (no green cones)#9586360.014
Tritanopia (no blue cones)#977E750.097
Achromatopsia (no color)#8484840.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D8731

    #8D8731

    oklch(61.2% 0.107 105.3)

  • #7E7AC1

    #7E7AC1

    oklch(61.3% 0.106 285.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D8731

    #8D8731

    oklch(61.2% 0.107 105.3)

  • #A97A2F

    #A97A2F

    oklch(61.3% 0.108 75.6)

  • #67924F

    #67924F

    oklch(61.2% 0.106 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #8D8731

    #8D8731

    oklch(61.2% 0.107 105.3)

  • #5686C3

    #5686C3

    oklch(61.2% 0.107 255)

  • #9C6FAF

    #9C6FAF

    oklch(61.1% 0.106 315.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D8731

    #8D8731

    oklch(61.2% 0.107 105.3)

  • #2390B4

    #2390B4

    oklch(61.1% 0.107 225.7)

  • #B16892

    #B16892

    oklch(61.1% 0.107 345.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D8731

    #8D8731

    oklch(61.2% 0.107 105.3)

  • #009797

    #009797

    oklch(61.2% 0.105 194.8)

  • #7E7AC1

    #7E7AC1

    oklch(61.3% 0.106 285.4)

  • #BB676E

    #BB676E

    oklch(61.1% 0.108 15.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8D8731 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.