#7E9E16#7E9E16

#7E9E16 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#7E9E16
RGBrgb(126, 158, 22)
HSLhsl(74, 76%, 35%)
HSVhsv(74, 86%, 62%)
CMYKcmyk(20.3%, 0%, 86.1%, 38%)
CIE-LABlab(60.73, -28.60, 59.55)
CIE-LCHlch(60.73, 66.06, 115.65°)
OKLaboklab(65.18% -0.0844 0.1289)
OKLCHoklch(65.18% 0.154 123.2)
XYZxyz(20.9762, 28.9471, 5.2412)
Luminance0.2895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E16 #36169E
analogous
#9E7A16 #7E9E16 #3A9E16
triadic
#7E9E16 #167E9E #9E167E
tetradic
#7E9E16 #169E7A #36169E #9E163A
square
#7E9E16 #169E7A #36169E #9E163A
split-complementary
#7E9E16 #163A9E #7A169E
monochromatic
#283307 #53680F #7E9E16 #A9D41D #C1E649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9E16#FFFFFF#000000##000000
##7E9E161.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)
#A49227
Tritanopia (blue-blind)
#859686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9e16;
/* rgb */ color: rgb(126, 158, 22);
/* oklch */ color: oklch(65.2% 0.154 123.2);
Tailwind
colors: {
  custom: {
    50: '#a7ba63',
    500: '#7e9e16',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e16;
$custom-light: #a7ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e16",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 74.118,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.15404,
    "h": 123.2
  },
  "luminance": 0.28947
}

Semantic roles & 50–950 ramp

primary
#7E9E16
secondary
#6749C7
accent
#36F262
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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