#8D8F2A

Closest named color: Camo (#7F8F4E). oklch(62.9% 0.121 110.5), rgb(141, 143, 42).

Aa

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

About this color

#8D8F2A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.121 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.035 away. Black text reads best on it, at 6.09:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text6.09:1
White text3.44:1

Values

HEX#8D8F2A
RGBrgb(141, 143, 42)
HSLhsl(61, 55%, 36%)
OKLCHoklch(62.9% 0.121 110.5)

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 #8D8F2A 3.44:1 AA large text Lc -67.4 Content text, not long reading
Black text on #8D8F2A 6.09:1 AA Lc 42.2 Non-text elements, placeholder text
#8D8F2A text on white 3.44:1 AA large text Lc 61.9 Content text, not long reading
#8D8F2A text on black 6.09:1 AA Lc -39.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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDE

    oklch(93.6% 0.017 110.3)

  3. Step 200

    200

    #DADCC3

    oklch(88.6% 0.034 110.8)

  4. Step 300

    300

    #C2C599

    oklch(81% 0.059 110.9)

  5. Step 400

    400

    #A3A65E

    oklch(70.6% 0.095 110.7)

  6. Step 500

    500 (this color)

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  7. Step 600

    600

    #787900

    oklch(55.7% 0.122 110.4)

  8. Step 700

    700

    #646500

    oklch(49% 0.107 110.5)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #444506

    oklch(37.7% 0.079 110.6)

  11. Step 950

    950

    #282808

    oklch(26.9% 0.049 109.3)

Export this scale for Tailwind in the Tailwind colors tool

#8D8F2A 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)#9A891A0.023
Deuteranopia (no green cones)#9B8C310.025
Tritanopia (no blue cones)#97867B0.108
Achromatopsia (no color)#8A8A8A0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D8F2A

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  • #897BCC

    #897BCC

    oklch(62.9% 0.12 290.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D8F2A

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  • #AE801E

    #AE801E

    oklch(62.9% 0.121 80.9)

  • #5E9B53

    #5E9B53

    oklch(63% 0.121 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #8D8F2A

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  • #5D88D2

    #5D88D2

    oklch(62.8% 0.122 260.7)

  • #A96FB6

    #A96FB6

    oklch(62.8% 0.122 320.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D8F2A

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  • #1995C4

    #1995C4

    oklch(62.9% 0.121 230.7)

  • #BF6892

    #BF6892

    oklch(62.9% 0.121 350.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D8F2A

    #8D8F2A

    oklch(62.9% 0.121 110.5)

  • #009CA3

    #009CA3

    oklch(63% 0.107 200.4)

  • #897BCC

    #897BCC

    oklch(62.9% 0.12 290.5)

  • #C76969

    #C76969

    oklch(62.9% 0.12 21)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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