#7E8C01

Closest named color: Dark Yellow Green (#728F02). oklch(60.8% 0.139 116.6), rgb(126, 140, 1).

Aa

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

About this color

#7E8C01 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.139 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.018 away. Black text reads best on it, at 5.63:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.63:1
White text3.72:1

Values

HEX#7E8C01
RGBrgb(126, 140, 1)
HSLhsl(66, 99%, 28%)
OKLCHoklch(60.8% 0.139 116.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 #7E8C01 3.72:1 AA large text Lc -70.1 Content text, not long reading
Black text on #7E8C01 5.63:1 AA Lc 39.5 Non-text elements, placeholder text
#7E8C01 text on white 3.72:1 AA large text Lc 64.6 Content text, not long reading
#7E8C01 text on black 5.63:1 AA Lc -37.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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDD

    oklch(93.7% 0.02 116)

  3. Step 200

    200

    #D7DDC1

    oklch(88.5% 0.038 117)

  4. Step 300

    300

    #BDC795

    oklch(80.9% 0.068 117.1)

  5. Step 400

    400

    #9CA956

    oklch(70.6% 0.109 116.6)

  6. Step 500

    500 (this color)

    #7E8C01

    oklch(60.8% 0.139 116.6)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A03

    oklch(27.1% 0.058 116.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E8C01 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)#9784000.043
Deuteranopia (no green cones)#9585180.042
Tritanopia (no blue cones)#8783760.122
Achromatopsia (no color)#8484840.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8C01

    #7E8C01

    oklch(60.8% 0.139 116.6)

  • #8C6ECB

    #8C6ECB

    oklch(60.8% 0.139 296.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8C01

    #7E8C01

    oklch(60.8% 0.139 116.6)

  • #A37C00

    #A37C00

    oklch(60.8% 0.124 86.4)

  • #3F984D

    #3F984D

    oklch(60.7% 0.139 146.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E8C01

    #7E8C01

    oklch(60.8% 0.139 116.6)

  • #5C7DD6

    #5C7DD6

    oklch(60.7% 0.141 266.9)

  • #AD62AE

    #AD62AE

    oklch(60.8% 0.139 326.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8C01

    #7E8C01

    oklch(60.8% 0.139 116.6)

  • #008CC7

    #008CC7

    oklch(60.7% 0.133 237.1)

  • #C25A84

    #C25A84

    oklch(60.7% 0.14 356.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8C01

    #7E8C01

    oklch(60.8% 0.139 116.6)

  • #0094A2

    #0094A2

    oklch(60.9% 0.104 206.6)

  • #8C6ECB

    #8C6ECB

    oklch(60.8% 0.139 296.9)

  • #C85C54

    #C85C54

    oklch(60.7% 0.14 26.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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