#818F52

Closest named color: Camo (#7F8F4E). oklch(62.4% 0.086 119.5), rgb(129, 143, 82).

Aa

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

About this color

#818F52 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.086 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.006 away. Black text reads best on it, at 5.98:1.

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.98:1
White text3.50:1

Values

HEX#818F52
RGBrgb(129, 143, 82)
HSLhsl(74, 27%, 44%)
OKLCHoklch(62.4% 0.086 119.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 #818F52 3.50:1 AA large text Lc -68.1 Content text, not long reading
Black text on #818F52 5.98:1 AA Lc 41.4 Non-text elements, placeholder text
#818F52 text on white 3.50:1 AA large text Lc 62.6 Content text, not long reading
#818F52 text on black 5.98:1 AA Lc -39.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE2

    oklch(93.6% 0.012 116.8)

  3. Step 200

    200

    #D7DCCB

    oklch(88.6% 0.023 120.2)

  4. Step 300

    300

    #BDC5A7

    oklch(80.9% 0.042 119.5)

  5. Step 400

    400

    #9BA778

    oklch(70.7% 0.067 119.8)

  6. Step 500

    500 (this color)

    #818F52

    oklch(62.4% 0.086 119.5)

  7. Step 600

    600

    #6D7B38

    oklch(55.6% 0.093 119.3)

  8. Step 700

    700

    #5B682A

    oklch(49.2% 0.088 119.6)

  9. Step 800

    800

    #4A5524

    oklch(42.8% 0.073 120.1)

  10. Step 900

    900

    #3E4622

    oklch(37.7% 0.057 119.5)

  11. Step 950

    950

    #242915

    oklch(27% 0.035 120.3)

Export this scale for Tailwind in the Tailwind colors tool

#818F52 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)#96894D0.033
Deuteranopia (no green cones)#9489550.033
Tritanopia (no blue cones)#8689800.072
Achromatopsia (no color)#8989890.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #818F52

    #818F52

    oklch(62.4% 0.086 119.5)

  • #8F7CB4

    #8F7CB4

    oklch(62.5% 0.085 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818F52

    #818F52

    oklch(62.4% 0.086 119.5)

  • #9C8547

    #9C8547

    oklch(62.4% 0.086 89.5)

  • #61966B

    #61966B

    oklch(62.4% 0.086 149.4)

Open the analogous palette in the generator

Split complementary

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

  • #818F52

    #818F52

    oklch(62.4% 0.086 119.5)

  • #7385BC

    #7385BC

    oklch(62.4% 0.086 269.9)

  • #A574A0

    #A574A0

    oklch(62.3% 0.086 330.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818F52

    #818F52

    oklch(62.4% 0.086 119.5)

  • #548EB6

    #548EB6

    oklch(62.3% 0.086 240.2)

  • #B27186

    #B27186

    oklch(62.4% 0.086 359)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818F52

    #818F52

    oklch(62.4% 0.086 119.5)

  • #3D95A4

    #3D95A4

    oklch(62.3% 0.086 210.5)

  • #8F7CB4

    #8F7CB4

    oklch(62.5% 0.085 299.5)

  • #B57369

    #B57369

    oklch(62.3% 0.086 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #818F52 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.