#7C8F2C

Closest named color: Olive Drab (#6B8E23). oklch(61.5% 0.125 119.6), rgb(124, 143, 44).

Aa

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

About this color

#7C8F2C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.125 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.025 away. Black text reads best on it, at 5.82:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.82:1
White text3.60:1

Values

HEX#7C8F2C
RGBrgb(124, 143, 44)
HSLhsl(72, 53%, 37%)
OKLCHoklch(61.5% 0.125 119.6)

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 #7C8F2C 3.60:1 AA large text Lc -69.0 Content text, not long reading
Black text on #7C8F2C 5.82:1 AA Lc 40.5 Non-text elements, placeholder text
#7C8F2C text on white 3.60:1 AA large text Lc 63.6 Content text, not long reading
#7C8F2C text on black 5.82: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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC4

    oklch(88.5% 0.034 119.8)

  4. Step 300

    300

    #BBC79B

    oklch(80.9% 0.061 120.2)

  5. Step 400

    400

    #99AA62

    oklch(70.8% 0.098 119.8)

  6. Step 500

    500 (this color)

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D470B

    oklch(37.6% 0.081 118.9)

  11. Step 950

    950

    #232A0A

    oklch(27% 0.052 120.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C8F2C 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)#98871D0.043
Deuteranopia (no green cones)#9687340.046
Tritanopia (no blue cones)#83877B0.107
Achromatopsia (no color)#8787870.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8F2C

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  • #9072C4

    #9072C4

    oklch(61.5% 0.124 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8F2C

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  • #A28004

    #A28004

    oklch(61.5% 0.125 89.8)

  • #45995A

    #45995A

    oklch(61.4% 0.125 149.5)

Open the analogous palette in the generator

Split complementary

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

  • #7C8F2C

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  • #6780D0

    #6780D0

    oklch(61.6% 0.125 269.4)

  • #AE67A9

    #AE67A9

    oklch(61.5% 0.126 329.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8F2C

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  • #298DC7

    #298DC7

    oklch(61.4% 0.125 239.7)

  • #C06282

    #C06282

    oklch(61.6% 0.125 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8F2C

    #7C8F2C

    oklch(61.5% 0.125 119.6)

  • #0096A7

    #0096A7

    oklch(61.6% 0.106 208.8)

  • #9072C4

    #9072C4

    oklch(61.5% 0.124 299.6)

  • #C46557

    #C46557

    oklch(61.5% 0.124 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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