#7C7E2F

Closest named color: Khaki Green (#728639). oklch(57.5% 0.101 110.6), rgb(124, 126, 47).

Aa

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

About this color

#7C7E2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.101 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.024 away. Black text reads best on it, at 4.88:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text4.88:1
White text4.30:1

Values

HEX#7C7E2F
RGBrgb(124, 126, 47)
HSLhsl(62, 46%, 34%)
OKLCHoklch(57.5% 0.101 110.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 #7C7E2F 4.30:1 AA large text Lc -75.2 Fine for body text
Black text on #7C7E2F 4.88:1 AA Lc 34.4 Non-text elements, placeholder text
#7C7E2F text on white 4.30:1 AA large text Lc 69.7 Content text, not long reading
#7C7E2F text on black 4.88:1 AA Lc -32.0 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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #D9DBC8

    oklch(88.5% 0.026 111.8)

  4. Step 300

    300

    #C2C4A2

    oklch(81% 0.046 110.2)

  5. Step 400

    400

    #A2A570

    oklch(70.6% 0.072 110.8)

  6. Step 500

    500

    #8C8F48

    oklch(63.2% 0.094 111)

  7. Step 600

    600 (this color)

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  8. Step 700

    700

    #64651B

    oklch(49.1% 0.094 110.2)

  9. Step 800

    800

    #515319

    oklch(42.8% 0.079 111.2)

  10. Step 900

    900

    #43441B

    oklch(37.6% 0.061 110.3)

  11. Step 950

    950

    #272811

    oklch(26.9% 0.038 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C7E2F 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)#8879260.021
Deuteranopia (no green cones)#887B340.022
Tritanopia (no blue cones)#84766D0.091
Achromatopsia (no color)#7A7A7A0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7E2F

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  • #796EB0

    #796EB0

    oklch(57.6% 0.1 290.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7E2F

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  • #987227

    #987227

    oklch(57.6% 0.102 80.8)

  • #56884D

    #56884D

    oklch(57.6% 0.103 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C7E2F

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  • #5579B5

    #5579B5

    oklch(57.6% 0.102 260.2)

  • #94649E

    #94649E

    oklch(57.5% 0.102 320.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7E2F

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  • #2783A9

    #2783A9

    oklch(57.4% 0.101 230.4)

  • #A65F81

    #A65F81

    oklch(57.6% 0.101 350.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7E2F

    #7C7E2F

    oklch(57.5% 0.101 110.6)

  • #008A90

    #008A90

    oklch(57.6% 0.098 200.2)

  • #796EB0

    #796EB0

    oklch(57.6% 0.1 290.5)

  • #AD5F5F

    #AD5F5F

    oklch(57.6% 0.102 20.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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