#7C8E4F

Closest named color: Camo (#7F8F4E). oklch(61.7% 0.09 122.1), rgb(124, 142, 79).

Aa

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

About this color

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

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

Values

HEX#7C8E4F
RGBrgb(124, 142, 79)
HSLhsl(77, 29%, 43%)
OKLCHoklch(61.7% 0.09 122.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 #7C8E4F 3.59:1 AA large text Lc -69.0 Content text, not long reading
Black text on #7C8E4F 5.83:1 AA Lc 40.6 Non-text elements, placeholder text
#7C8E4F text on white 3.59:1 AA large text Lc 63.5 Content text, not long reading
#7C8E4F text on black 5.83:1 AA Lc -38.2 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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCA

    oklch(88.5% 0.025 122)

  4. Step 300

    300

    #BBC6A7

    oklch(81% 0.044 123.3)

  5. Step 400

    400

    #99A877

    oklch(70.7% 0.07 122)

  6. Step 500

    500 (this color)

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  7. Step 600

    600

    #6A7C37

    oklch(55.6% 0.097 121.8)

  8. Step 700

    700

    #586929

    oklch(49.2% 0.091 122.3)

  9. Step 800

    800

    #485523

    oklch(42.6% 0.075 121.8)

  10. Step 900

    900

    #3C4722

    oklch(37.8% 0.059 122.8)

  11. Step 950

    950

    #232914

    oklch(26.9% 0.037 121.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C8E4F 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)#95874A0.039
Deuteranopia (no green cones)#9287520.038
Tritanopia (no blue cones)#81887F0.075
Achromatopsia (no color)#8787870.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #998441

    #998441

    oklch(61.8% 0.09 92.2)

  • #5A956A

    #5A956A

    oklch(61.7% 0.09 151.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #7282BC

    #7282BC

    oklch(61.7% 0.09 271.8)

  • #A5719D

    #A5719D

    oklch(61.7% 0.089 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #518CB7

    #518CB7

    oklch(61.8% 0.09 241.8)

  • #B26E81

    #B26E81

    oklch(61.7% 0.089 1.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #3693A5

    #3693A5

    oklch(61.6% 0.09 212.9)

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #B57163

    #B57163

    oklch(61.8% 0.09 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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