#7E9E15#7E9E15

#7E9E15 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.2% C 0.154 H 123.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E9E15
RGBrgb(126, 158, 21)
HSLhsl(74, 77%, 35%)
HSVhsv(74, 87%, 62%)
CMYKcmyk(20.3%, 0%, 86.7%, 38%)
CIE-LABlab(60.73, -28.63, 59.77)
CIE-LCHlch(60.73, 66.28, 115.59°)
OKLaboklab(65.18% -0.0846 0.1292)
OKLCHoklch(65.18% 0.154 123.2)
XYZxyz(20.9667, 28.9434, 5.1914)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E15 #35159E
analogous
#9E7A15 #7E9E15 #399E15
triadic
#7E9E15 #157E9E #9E157E
tetradic
#7E9E15 #159E7A #35159E #9E1539
square
#7E9E15 #159E7A #35159E #9E1539
split-complementary
#7E9E15 #15399E #7A159E
monochromatic
#283207 #53680E #7E9E15 #A9D41C #C1E747

Accessibility & contrast

On white

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

On black

6.79
#7E9E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E15
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E15#FFFFFF#000000##000000
##7E9E151.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A49226
Tritanopia (blue-blind)
#859686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9e15;
/* rgb */ color: rgb(126, 158, 21);
/* oklch */ color: oklch(65.2% 0.154 123.2);
Tailwind
colors: {
  custom: {
    50: '#a7ba63',
    500: '#7e9e15',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e15;
$custom-light: #a7ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e15",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 74.015,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.1544,
    "h": 123.2
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#7E9E15
secondary
#6547C7
accent
#35F361
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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