#7E951F

Closest named color: Dark Yellow Green (#728F02). oklch(63% 0.139 120.5), rgb(126, 149, 31).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.20:1
White text3.38:1

Values

HEX#7E951F
RGBrgb(126, 149, 31)
HSLhsl(72, 66%, 35%)
OKLCHoklch(63% 0.139 120.5)

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 #7E951F 3.38:1 AA large text Lc -66.6 Content text, not long reading
Black text on #7E951F 6.20:1 AA Lc 42.9 Non-text elements, placeholder text
#7E951F text on white 3.38:1 AA large text Lc 61.2 Content text, not long reading
#7E951F text on black 6.20:1 AA Lc -40.5 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D5DDC2

    oklch(88.4% 0.037 120.6)

  4. Step 300

    300

    #BAC896

    oklch(80.9% 0.069 120.7)

  5. Step 400

    400

    #97AB5A

    oklch(70.7% 0.109 120.7)

  6. Step 500

    500 (this color)

    #7E951F

    oklch(63% 0.139 120.5)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485700

    oklch(42.9% 0.102 120.5)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #232A05

    oklch(26.9% 0.057 119.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E951F 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)#9F8C000.050
Deuteranopia (no green cones)#9C8C2B0.052
Tritanopia (no blue cones)#858D7F0.117
Achromatopsia (no color)#8C8C8C0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E951F

    #7E951F

    oklch(63% 0.139 120.5)

  • #9873D0

    #9873D0

    oklch(63.1% 0.14 300.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E951F

    #7E951F

    oklch(63% 0.139 120.5)

  • #A78500

    #A78500

    oklch(63.1% 0.129 90.6)

  • #3BA05B

    #3BA05B

    oklch(63% 0.139 150.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E951F

    #7E951F

    oklch(63% 0.139 120.5)

  • #6A82DD

    #6A82DD

    oklch(63% 0.14 270.8)

  • #B867B0

    #B867B0

    oklch(63% 0.139 330.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E951F

    #7E951F

    oklch(63% 0.139 120.5)

  • #1892D5

    #1892D5

    oklch(63.1% 0.14 240.7)

  • #CB6185

    #CB6185

    oklch(63% 0.139 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E951F

    #7E951F

    oklch(63% 0.139 120.5)

  • #009AAE

    #009AAE

    oklch(62.9% 0.109 210.8)

  • #9873D0

    #9873D0

    oklch(63.1% 0.14 300.8)

  • #D06454

    #D06454

    oklch(63% 0.14 30.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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