#7E9E1E#7E9E1E

#7E9E1E is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.151 H 123.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7E9E1E
RGBrgb(126, 158, 30)
HSLhsl(75, 68%, 37%)
HSVhsv(75, 81%, 62%)
CMYKcmyk(20.3%, 0%, 81%, 38%)
CIE-LABlab(60.77, -28.30, 57.48)
CIE-LCHlch(60.77, 64.07, 116.21°)
OKLaboklab(65.22% -0.0831 0.1257)
OKLCHoklch(65.22% 0.151 123.5)
XYZxyz(21.0657, 28.9829, 5.7125)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E1E #3E1E9E
analogous
#9E7E1E #7E9E1E #3E9E1E
triadic
#7E9E1E #1E7E9E #9E1E7E
tetradic
#7E9E1E #1E9E7E #3E1E9E #9E1E3E
square
#7E9E1E #1E9E7E #3E1E9E #9E1E3E
split-complementary
#7E9E1E #1E3E9E #7E1E9E
monochromatic
#2C370A #556B14 #7E9E1E #A7D128 #BDDF57

Accessibility & contrast

On white

3.09
#7E9E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7E9E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E1E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E1E#FFFFFF#000000##000000
##7E9E1E1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#859687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e1e;
/* rgb */ color: rgb(126, 158, 30);
/* oklch */ color: oklch(65.2% 0.151 123.5);
Tailwind
colors: {
  custom: {
    50: '#a7ba66',
    500: '#7e9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e1e;
$custom-light: #a7ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e1e",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 75,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.15073,
    "h": 123.5
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#7E9E1E
secondary
#7055C3
accent
#3DEB68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9E1E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E9E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva