#7E9920#7E9920

#7E9920 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.144 H 122.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E9920
RGBrgb(126, 153, 32)
HSLhsl(73, 65%, 36%)
HSVhsv(73, 79%, 60%)
CMYKcmyk(17.6%, 0%, 79.1%, 40%)
CIE-LABlab(59.27, -25.78, 55.52)
CIE-LCHlch(59.27, 61.22, 114.91°)
OKLaboklab(64.01% -0.0761 0.1219)
OKLCHoklch(64.01% 0.144 122)
XYZxyz(20.2565, 27.3223, 5.5728)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9920 #3B2099
analogous
#997820 #7E9920 #429920
triadic
#7E9920 #207E99 #99207E
tetradic
#7E9920 #209978 #3B2099 #992042
square
#7E9920 #209978 #3B2099 #992042
split-complementary
#7E9920 #204299 #782099
monochromatic
#2B340B #546615 #7E9920 #A8CC2B #BEDC57

Accessibility & contrast

On white

3.25
#7E9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7E9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9920
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9920#FFFFFF#000000##000000
##7E99201.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9920;
/* rgb */ color: rgb(126, 153, 32);
/* oklch */ color: oklch(64.0% 0.144 122.0);
Tailwind
colors: {
  custom: {
    50: '#a7b766',
    500: '#7e9920',
    950: '#000000',
  },
}
SCSS
$custom: #7e9920;
$custom-light: #a7b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9920",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 73.388,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.14372,
    "h": 122
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#7E9920
secondary
#6D55C0
accent
#3FE865
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9920

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

Preview Lab → · Contrast checker → · Palette generator →

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