#7E9012

Closest named color: Dark Yellow Green (#728F02). oklch(61.8% 0.139 118.4), rgb(126, 144, 18).

Aa

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

About this color

#7E9012 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.139 and its hue 118°. 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.88:1.

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

Values

HEX#7E9012
RGBrgb(126, 144, 18)
HSLhsl(69, 78%, 32%)
OKLCHoklch(61.8% 0.139 118.4)

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 #7E9012 3.56:1 AA large text Lc -68.6 Content text, not long reading
Black text on #7E9012 5.88:1 AA Lc 41.0 Non-text elements, placeholder text
#7E9012 text on white 3.56:1 AA large text Lc 63.1 Content text, not long reading
#7E9012 text on black 5.88:1 AA Lc -38.6 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

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC1

    oklch(88.5% 0.038 118.6)

  4. Step 300

    300

    #BCC795

    oklch(80.9% 0.068 118)

  5. Step 400

    400

    #9AAA58

    oklch(70.7% 0.109 118.4)

  6. Step 500

    500 (this color)

    #7E9012

    oklch(61.8% 0.139 118.4)

  7. Step 600

    600

    #6D7D00

    oklch(55.7% 0.13 118.3)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A04

    oklch(27% 0.058 118.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E9012 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)#9A87000.046
Deuteranopia (no green cones)#9888210.046
Tritanopia (no blue cones)#86877A0.120
Achromatopsia (no color)#8888880.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E9012

    #7E9012

    oklch(61.8% 0.139 118.4)

  • #9170CD

    #9170CD

    oklch(61.7% 0.14 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E9012

    #7E9012

    oklch(61.8% 0.139 118.4)

  • #A58000

    #A58000

    oklch(61.8% 0.126 88.2)

  • #3E9C53

    #3E9C53

    oklch(61.9% 0.14 148.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E9012

    #7E9012

    oklch(61.8% 0.139 118.4)

  • #6280D9

    #6280D9

    oklch(61.8% 0.139 268.1)

  • #B264AF

    #B264AF

    oklch(61.8% 0.14 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E9012

    #7E9012

    oklch(61.8% 0.139 118.4)

  • #008FCE

    #008FCE

    oklch(61.8% 0.138 238.3)

  • #C65D84

    #C65D84

    oklch(61.7% 0.14 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E9012

    #7E9012

    oklch(61.8% 0.139 118.4)

  • #0097A7

    #0097A7

    oklch(61.9% 0.106 208)

  • #9170CD

    #9170CD

    oklch(61.7% 0.14 298.6)

  • #CC6054

    #CC6054

    oklch(61.8% 0.14 28.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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