#848C42

Closest named color: Camo (#7F8F4E). oklch(61.7% 0.099 114.4), rgb(132, 140, 66).

Aa

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

About this color

#848C42 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.099 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.013 away. Black text reads best on it, at 5.81:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.81:1
White text3.61:1

Values

HEX#848C42
RGBrgb(132, 140, 66)
HSLhsl(66, 36%, 40%)
OKLCHoklch(61.7% 0.099 114.4)

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 #848C42 3.61:1 AA large text Lc -69.2 Content text, not long reading
Black text on #848C42 5.81:1 AA Lc 40.4 Non-text elements, placeholder text
#848C42 text on white 3.61:1 AA large text Lc 63.7 Content text, not long reading
#848C42 text on black 5.81:1 AA Lc -38.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DBC8

    oklch(88.4% 0.026 114.2)

  4. Step 300

    300

    #BFC5A1

    oklch(80.9% 0.049 115.2)

  5. Step 400

    400

    #9FA66E

    oklch(70.6% 0.077 114.2)

  6. Step 500

    500 (this color)

    #848C42

    oklch(61.7% 0.099 114.4)

  7. Step 600

    600

    #727A25

    oklch(55.6% 0.108 114.6)

  8. Step 700

    700

    #606717

    oklch(49.2% 0.1 114.5)

  9. Step 800

    800

    #4E5417

    oklch(42.7% 0.083 114.8)

  10. Step 900

    900

    #41451A

    oklch(37.6% 0.064 113.9)

  11. Step 950

    950

    #262910

    oklch(27.1% 0.041 114.9)

Export this scale for Tailwind in the Tailwind colors tool

#848C42 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)#95863B0.028
Deuteranopia (no green cones)#9487460.029
Tritanopia (no blue cones)#8B857B0.085
Achromatopsia (no color)#8787870.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #848C42

    #848C42

    oklch(61.7% 0.099 114.4)

  • #8979BB

    #8979BB

    oklch(61.7% 0.099 294.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #848C42

    #848C42

    oklch(61.7% 0.099 114.4)

  • #A18038

    #A18038

    oklch(61.7% 0.099 84.3)

  • #5F955F

    #5F955F

    oklch(61.8% 0.098 144.3)

Open the analogous palette in the generator

Split complementary

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

  • #848C42

    #848C42

    oklch(61.7% 0.099 114.4)

  • #6784C1

    #6784C1

    oklch(61.7% 0.099 264.3)

  • #A370A6

    #A370A6

    oklch(61.7% 0.099 324.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #848C42

    #848C42

    oklch(61.7% 0.099 114.4)

  • #408FB8

    #408FB8

    oklch(61.8% 0.099 234.2)

  • #B46B89

    #B46B89

    oklch(61.7% 0.1 354.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #848C42

    #848C42

    oklch(61.7% 0.099 114.4)

  • #1F96A1

    #1F96A1

    oklch(61.7% 0.099 204.6)

  • #8979BB

    #8979BB

    oklch(61.7% 0.099 294.4)

  • #B96D68

    #B96D68

    oklch(61.7% 0.098 24.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #848C42 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.