#7E9620#7E9620

#7E9620 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.140 H 120.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E9620
RGBrgb(126, 150, 32)
HSLhsl(72, 65%, 36%)
HSVhsv(72, 79%, 59%)
CMYKcmyk(16%, 0%, 78.7%, 41.2%)
CIE-LABlab(58.37, -24.30, 54.69)
CIE-LCHlch(58.37, 59.85, 113.96°)
OKLaboklab(63.29% -0.072 0.1202)
OKLCHoklch(63.29% 0.14 120.9)
XYZxyz(19.7716, 26.3526, 5.4112)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9620 #382096
analogous
#967320 #7E9620 #439620
triadic
#7E9620 #207E96 #96207E
tetradic
#7E9620 #209673 #382096 #962043
square
#7E9620 #209673 #382096 #962043
split-complementary
#7E9620 #204396 #732096
monochromatic
#29310A #546415 #7E9620 #A8C82B #C0DB56

Accessibility & contrast

On white

3.35
#7E9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7E9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9620
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9620#FFFFFF#000000##000000
##7E96201.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#858E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9620;
/* rgb */ color: rgb(126, 150, 32);
/* oklch */ color: oklch(63.3% 0.140 120.9);
Tailwind
colors: {
  custom: {
    50: '#a7b466',
    500: '#7e9620',
    950: '#000000',
  },
}
SCSS
$custom: #7e9620;
$custom-light: #a7b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9620",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 72.203,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.1401,
    "h": 120.9
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#7E9620
secondary
#6953BE
accent
#40E862
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9620

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

Preview Lab → · Contrast checker → · Palette generator →

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