#7C8A45

Closest named color: Camo (#7F8F4E). oklch(60.6% 0.095 118.8), rgb(124, 138, 69).

Aa

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

About this color

#7C8A45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.095 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.016 away. Black text reads best on it, at 5.57:1.

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

Values

HEX#7C8A45
RGBrgb(124, 138, 69)
HSLhsl(72, 33%, 41%)
OKLCHoklch(60.6% 0.095 118.8)

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 #7C8A45 3.76:1 AA large text Lc -70.6 Content text, not long reading
Black text on #7C8A45 5.57:1 AA Lc 38.9 Non-text elements, placeholder text
#7C8A45 text on white 3.76:1 AA large text Lc 65.1 Content text, not long reading
#7C8A45 text on black 5.57:1 AA Lc -36.5 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

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A4

    oklch(80.8% 0.046 118.5)

  5. Step 400

    400

    #9BA872

    oklch(70.8% 0.076 119.4)

  6. Step 500

    500 (this color)

    #7C8A45

    oklch(60.6% 0.095 118.8)

  7. Step 600

    600

    #6D7B2E

    oklch(55.5% 0.103 118.6)

  8. Step 700

    700

    #5B6821

    oklch(49.1% 0.096 119)

  9. Step 800

    800

    #4A551D

    oklch(42.7% 0.08 119.3)

  10. Step 900

    900

    #3E461E

    oklch(37.7% 0.062 118.8)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#7C8A45 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)#92833F0.035
Deuteranopia (no green cones)#9084490.035
Tritanopia (no blue cones)#82847A0.080
Achromatopsia (no color)#8484840.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8A45

    #7C8A45

    oklch(60.6% 0.095 118.8)

  • #8A75B3

    #8A75B3

    oklch(60.6% 0.095 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8A45

    #7C8A45

    oklch(60.6% 0.095 118.8)

  • #997F38

    #997F38

    oklch(60.6% 0.095 89.1)

  • #579262

    #579262

    oklch(60.6% 0.095 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #7C8A45

    #7C8A45

    oklch(60.6% 0.095 118.8)

  • #6A7FBB

    #6A7FBB

    oklch(60.5% 0.095 268.7)

  • #A16D9E

    #A16D9E

    oklch(60.6% 0.094 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8A45

    #7C8A45

    oklch(60.6% 0.095 118.8)

  • #468AB5

    #468AB5

    oklch(60.7% 0.095 238.8)

  • #B06981

    #B06981

    oklch(60.6% 0.095 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8A45

    #7C8A45

    oklch(60.6% 0.095 118.8)

  • #2591A0

    #2591A0

    oklch(60.5% 0.095 208.9)

  • #8A75B3

    #8A75B3

    oklch(60.6% 0.095 299.1)

  • #B46B61

    #B46B61

    oklch(60.6% 0.095 28.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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