#7E9621#7E9621

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

Color values

HEX#7E9621
RGBrgb(126, 150, 33)
HSLhsl(72, 64%, 36%)
HSVhsv(72, 78%, 59%)
CMYKcmyk(16%, 0%, 78%, 41.2%)
CIE-LABlab(58.38, -24.26, 54.37)
CIE-LCHlch(58.38, 59.54, 114.04°)
OKLaboklab(63.29% -0.0718 0.1197)
OKLCHoklch(63.29% 0.14 121)
XYZxyz(19.7854, 26.3581, 5.4839)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9621 #392196
analogous
#967321 #7E9621 #439621
triadic
#7E9621 #217E96 #96217E
tetradic
#7E9621 #219673 #392196 #962143
square
#7E9621 #219673 #392196 #962143
split-complementary
#7E9621 #214396 #732196
monochromatic
#2A320B #546416 #7E9621 #A8C82C #BFDA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9621#FFFFFF#000000##000000
##7E96211.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)
#A08D02
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#858E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9621;
/* rgb */ color: rgb(126, 150, 33);
/* oklch */ color: oklch(63.3% 0.140 121.0);
Tailwind
colors: {
  custom: {
    50: '#a7b466',
    500: '#7e9621',
    950: '#000000',
  },
}
SCSS
$custom: #7e9621;
$custom-light: #a7b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9621",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 72.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.13957,
    "h": 121
  },
  "luminance": 0.26358
}

Semantic roles & 50–950 ramp

primary
#7E9621
secondary
#6A55BE
accent
#41E763
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9621

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

Preview Lab → · Contrast checker → · Palette generator →

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