#838F5C

Closest named color: Camo (#7F8F4E). oklch(62.7% 0.073 119.3), rgb(131, 143, 92).

Aa

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

About this color

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

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

Values

HEX#838F5C
RGBrgb(131, 143, 92)
HSLhsl(74, 22%, 46%)
OKLCHoklch(62.7% 0.073 119.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 #838F5C 3.47:1 AA large text Lc -67.7 Content text, not long reading
Black text on #838F5C 6.04:1 AA Lc 41.8 Non-text elements, placeholder text
#838F5C text on white 3.47:1 AA large text Lc 62.3 Content text, not long reading
#838F5C text on black 6.04:1 AA Lc -39.4 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

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D7DBCD

    oklch(88.4% 0.019 119.8)

  4. Step 300

    300

    #BEC4AB

    oklch(80.9% 0.035 118.2)

  5. Step 400

    400

    #9CA67E

    oklch(70.7% 0.057 119.3)

  6. Step 500

    500 (this color)

    #838F5C

    oklch(62.7% 0.073 119.3)

  7. Step 600

    600

    #6E7A43

    oklch(55.6% 0.079 119.1)

  8. Step 700

    700

    #5C6735

    oklch(49.2% 0.074 119.4)

  9. Step 800

    800

    #4B542C

    oklch(42.7% 0.061 119.5)

  10. Step 900

    900

    #3F4528

    oklch(37.7% 0.047 118.2)

  11. Step 950

    950

    #252918

    oklch(27.2% 0.03 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#838F5C 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)#958A580.028
Deuteranopia (no green cones)#948A5E0.029
Tritanopia (no blue cones)#888A820.061
Achromatopsia (no color)#8A8A8A0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #838F5C

    #838F5C

    oklch(62.7% 0.073 119.3)

  • #8E7FAF

    #8E7FAF

    oklch(62.8% 0.073 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838F5C

    #838F5C

    oklch(62.7% 0.073 119.3)

  • #9A8654

    #9A8654

    oklch(62.6% 0.072 88.5)

  • #699570

    #699570

    oklch(62.7% 0.073 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #838F5C

    #838F5C

    oklch(62.7% 0.073 119.3)

  • #7687B5

    #7687B5

    oklch(62.8% 0.072 268.6)

  • #A2799E

    #A2799E

    oklch(62.9% 0.073 329.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838F5C

    #838F5C

    oklch(62.7% 0.073 119.3)

  • #5E8FB0

    #5E8FB0

    oklch(62.8% 0.073 238.9)

  • #AD7687

    #AD7687

    oklch(62.7% 0.072 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838F5C

    #838F5C

    oklch(62.7% 0.073 119.3)

  • #4E95A0

    #4E95A0

    oklch(62.8% 0.073 208.6)

  • #8E7FAF

    #8E7FAF

    oklch(62.8% 0.073 298.6)

  • #B0786F

    #B0786F

    oklch(62.8% 0.072 29.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #838F5C 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.