#7E9D1E#7E9D1E

#7E9D1E is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 65.0% C 0.150 H 123.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7E9D1E
RGBrgb(126, 157, 30)
HSLhsl(75, 68%, 37%)
HSVhsv(75, 81%, 62%)
CMYKcmyk(19.7%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.47, -27.82, 57.21)
CIE-LCHlch(60.47, 63.62, 115.93°)
OKLaboklab(64.97% -0.0818 0.1252)
OKLCHoklch(64.97% 0.15 123.2)
XYZxyz(20.8958, 28.6432, 5.6559)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D1E #3D1E9D
analogous
#9D7D1E #7E9D1E #3F9D1E
triadic
#7E9D1E #1E7E9D #9D1E7E
tetradic
#7E9D1E #1E9D7D #3D1E9D #9D1E3F
square
#7E9D1E #1E9D7D #3D1E9D #9D1E3F
split-complementary
#7E9D1E #1E3F9D #7D1E9D
monochromatic
#2C360A #556A14 #7E9D1E #A7D028 #BEDF57

Accessibility & contrast

On white

3.12
#7E9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7E9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D1E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D1E#FFFFFF#000000##000000
##7E9D1E1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#859586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d1e;
/* rgb */ color: rgb(126, 157, 30);
/* oklch */ color: oklch(65.0% 0.150 123.2);
Tailwind
colors: {
  custom: {
    50: '#a7ba66',
    500: '#7e9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d1e;
$custom-light: #a7ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d1e",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 74.646,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64974,
    "c": 0.14953,
    "h": 123.2
  },
  "luminance": 0.28643
}

Semantic roles & 50–950 ramp

primary
#7E9D1E
secondary
#6F54C2
accent
#3DEB67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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