#8C8A45

Closest named color: Camo (#7F8F4E). oklch(62% 0.091 107.3), rgb(140, 138, 69).

Aa

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

About this color

#8C8A45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.091 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.021 away. Black text reads best on it, at 5.83:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text5.83:1
White text3.59:1

Values

HEX#8C8A45
RGBrgb(140, 138, 69)
HSLhsl(58, 34%, 41%)
OKLCHoklch(62% 0.091 107.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 #8C8A45 3.59:1 AA large text Lc -69.0 Content text, not long reading
Black text on #8C8A45 5.83:1 AA Lc 40.5 Non-text elements, placeholder text
#8C8A45 text on white 3.59:1 AA large text Lc 63.5 Content text, not long reading
#8C8A45 text on black 5.83:1 AA Lc -38.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #DADBC8

    oklch(88.5% 0.026 109.4)

  4. Step 300

    300

    #C3C3A2

    oklch(80.9% 0.045 107.4)

  5. Step 400

    400

    #A5A46F

    oklch(70.7% 0.072 107.2)

  6. Step 500

    500 (this color)

    #8C8A45

    oklch(62% 0.091 107.3)

  7. Step 600

    600

    #7A7729

    oklch(55.6% 0.099 107.1)

  8. Step 700

    700

    #67641B

    oklch(49.1% 0.092 107)

  9. Step 800

    800

    #545219

    oklch(42.8% 0.077 107.3)

  10. Step 900

    900

    #45441B

    oklch(37.8% 0.06 107.7)

  11. Step 950

    950

    #282811

    oklch(27% 0.038 108.7)

Export this scale for Tailwind in the Tailwind colors tool

#8C8A45 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)#94853F0.016
Deuteranopia (no green cones)#9588480.016
Tritanopia (no blue cones)#95827A0.083
Achromatopsia (no color)#8787870.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C8A45

    #8C8A45

    oklch(62% 0.091 107.3)

  • #837DBA

    #837DBA

    oklch(61.9% 0.091 287.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C8A45

    #8C8A45

    oklch(62% 0.091 107.3)

  • #A57F42

    #A57F42

    oklch(62.1% 0.092 77.5)

  • #6B935C

    #6B935C

    oklch(61.9% 0.091 137.5)

Open the analogous palette in the generator

Split complementary

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

  • #8C8A45

    #8C8A45

    oklch(62% 0.091 107.3)

  • #6288BD

    #6288BD

    oklch(62.1% 0.091 256.8)

  • #9D74AA

    #9D74AA

    oklch(61.9% 0.092 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C8A45

    #8C8A45

    oklch(62% 0.091 107.3)

  • #4191B1

    #4191B1

    oklch(62% 0.091 227.3)

  • #AF6F90

    #AF6F90

    oklch(62% 0.092 347.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C8A45

    #8C8A45

    oklch(62% 0.091 107.3)

  • #309799

    #309799

    oklch(62% 0.092 196.9)

  • #837DBA

    #837DBA

    oklch(61.9% 0.091 287.9)

  • #B76F72

    #B76F72

    oklch(62.1% 0.092 17.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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