#7E9420#7E9420

#7E9420 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.138 H 120.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7E9420
RGBrgb(126, 148, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 58%)
CMYKcmyk(14.9%, 0%, 78.4%, 42%)
CIE-LABlab(57.77, -23.30, 54.14)
CIE-LCHlch(57.77, 58.94, 113.29°)
OKLaboklab(62.8% -0.0693 0.119)
OKLCHoklch(62.8% 0.138 120.2)
XYZxyz(19.4552, 25.7198, 5.3057)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9420 #362094
analogous
#947020 #7E9420 #449420
triadic
#7E9420 #207E94 #94207E
tetradic
#7E9420 #209470 #362094 #942044
square
#7E9420 #209470 #362094 #942044
split-complementary
#7E9420 #204494 #702094
monochromatic
#282F0A #536215 #7E9420 #A9C62B #C1DA54

Accessibility & contrast

On white

3.42
#7E9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7E9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9420
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9420#FFFFFF#000000##000000
##7E94201.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#868C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e9420;
/* rgb */ color: rgb(126, 148, 32);
/* oklch */ color: oklch(62.8% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#a7b366',
    500: '#7e9420',
    950: '#000000',
  },
}
SCSS
$custom: #7e9420;
$custom-light: #a7b366;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9420",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 71.379,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.1377,
    "h": 120.2
  },
  "luminance": 0.2572
}

Semantic roles & 50–950 ramp

primary
#7E9420
secondary
#6752BE
accent
#40E760
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9420

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

Preview Lab → · Contrast checker → · Palette generator →

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