#7C8D42

Closest named color: Camo (#7F8F4E). oklch(61.3% 0.103 120.1), rgb(124, 141, 66).

Aa

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

About this color

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

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

Values

HEX#7C8D42
RGBrgb(124, 141, 66)
HSLhsl(74, 36%, 41%)
OKLCHoklch(61.3% 0.103 120.1)

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 #7C8D42 3.65:1 AA large text Lc -69.6 Content text, not long reading
Black text on #7C8D42 5.74:1 AA Lc 40.0 Non-text elements, placeholder text
#7C8D42 text on white 3.65:1 AA large text Lc 64.1 Content text, not long reading
#7C8D42 text on black 5.74:1 AA Lc -37.6 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

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BCC6A2

    oklch(80.9% 0.05 120.1)

  5. Step 400

    400

    #9AA86F

    oklch(70.6% 0.08 119.7)

  6. Step 500

    500 (this color)

    #7C8D42

    oklch(61.3% 0.103 120.1)

  7. Step 600

    600

    #6B7C27

    oklch(55.5% 0.111 119.9)

  8. Step 700

    700

    #596919

    oklch(49.1% 0.104 120.4)

  9. Step 800

    800

    #495618

    oklch(42.8% 0.087 120.4)

  10. Step 900

    900

    #3D471B

    oklch(37.8% 0.067 120.4)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C8D42 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.039
Deuteranopia (no green cones)#9386460.040
Tritanopia (no blue cones)#82867C0.087
Achromatopsia (no color)#8686860.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8D42

    #7C8D42

    oklch(61.3% 0.103 120.1)

  • #8E75B8

    #8E75B8

    oklch(61.2% 0.102 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8D42

    #7C8D42

    oklch(61.3% 0.103 120.1)

  • #9C8132

    #9C8132

    oklch(61.3% 0.102 90)

  • #539563

    #539563

    oklch(61.2% 0.102 150.3)

Open the analogous palette in the generator

Split complementary

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

  • #7C8D42

    #7C8D42

    oklch(61.3% 0.103 120.1)

  • #6C80C2

    #6C80C2

    oklch(61.2% 0.103 270.3)

  • #A76DA1

    #A76DA1

    oklch(61.4% 0.102 330.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8D42

    #7C8D42

    oklch(61.3% 0.103 120.1)

  • #438CBB

    #438CBB

    oklch(61.4% 0.102 239.6)

  • #B66981

    #B66981

    oklch(61.3% 0.102 0.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8D42

    #7C8D42

    oklch(61.3% 0.103 120.1)

  • #1494A6

    #1494A6

    oklch(61.2% 0.103 210.3)

  • #8E75B8

    #8E75B8

    oklch(61.2% 0.102 300.6)

  • #B96B5F

    #B96B5F

    oklch(61.2% 0.102 29.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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