#7E960E

Closest named color: Dark Yellow Green (#728F02). oklch(63.2% 0.147 120.5), rgb(126, 150, 14).

Aa

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

About this color

#7E960E is a medium-light, vivid yellow. In OKLCH its lightness is 63%, its chroma 0.147 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.25:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromavivid (0.147)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.25:1
White text3.35:1

Values

HEX#7E960E
RGBrgb(126, 150, 14)
HSLhsl(71, 83%, 32%)
OKLCHoklch(63.2% 0.147 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 #7E960E 3.35:1 AA large text Lc -66.3 Content text, not long reading
Black text on #7E960E 6.25:1 AA Lc 43.2 Non-text elements, placeholder text
#7E960E text on white 3.35:1 AA large text Lc 60.8 Content text, not long reading
#7E960E text on black 6.25:1 AA Lc -40.9 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

    #F4F6EF

    oklch(97% 0.009 119.6)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D5DEC0

    oklch(88.6% 0.041 120.8)

  4. Step 300

    300

    #BAC894

    oklch(80.9% 0.072 120.3)

  5. Step 400

    400

    #97AB55

    oklch(70.7% 0.114 120.2)

  6. Step 500

    500 (this color)

    #7E960E

    oklch(63.2% 0.147 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

    #222B03

    oklch(27.1% 0.061 121.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E960E 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)#A08C000.054
Deuteranopia (no green cones)#9D8C210.055
Tritanopia (no blue cones)#868D7F0.126
Achromatopsia (no color)#8C8C8C0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E960E

    #7E960E

    oklch(63.2% 0.147 120.5)

  • #9972D4

    #9972D4

    oklch(63.2% 0.147 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E960E

    #7E960E

    oklch(63.2% 0.147 120.5)

  • #A88500

    #A88500

    oklch(63.2% 0.129 90)

  • #34A258

    #34A258

    oklch(63.2% 0.148 150.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E960E

    #7E960E

    oklch(63.2% 0.147 120.5)

  • #6982E2

    #6982E2

    oklch(63.2% 0.147 270.7)

  • #BB65B3

    #BB65B3

    oklch(63.2% 0.148 330.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E960E

    #7E960E

    oklch(63.2% 0.147 120.5)

  • #0093D9

    #0093D9

    oklch(63.3% 0.146 240.5)

  • #CF5E85

    #CF5E85

    oklch(63.2% 0.148 0.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E960E

    #7E960E

    oklch(63.2% 0.147 120.5)

  • #009BAF

    #009BAF

    oklch(63.2% 0.11 210.8)

  • #9972D4

    #9972D4

    oklch(63.2% 0.147 300.6)

  • #D46251

    #D46251

    oklch(63.2% 0.147 30.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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