#7E9D20#7E9D20

#7E9D20 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.149 H 123.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7E9D20
RGBrgb(126, 157, 32)
HSLhsl(75, 66%, 37%)
HSVhsv(75, 80%, 62%)
CMYKcmyk(19.7%, 0%, 79.6%, 38.4%)
CIE-LABlab(60.47, -27.74, 56.62)
CIE-LCHlch(60.47, 63.05, 116.10°)
OKLaboklab(64.99% -0.0814 0.1243)
OKLCHoklch(64.99% 0.149 123.2)
XYZxyz(20.9221, 28.6537, 5.7947)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D20 #3F209D
analogous
#9D7E20 #7E9D20 #409D20
triadic
#7E9D20 #207E9D #9D207E
tetradic
#7E9D20 #209D7E #3F209D #9D2040
square
#7E9D20 #209D7E #3F209D #9D2040
split-complementary
#7E9D20 #20409D #7E209D
monochromatic
#2C370B #556A16 #7E9D20 #A7D02A #BDDD5A

Accessibility & contrast

On white

3.12
#7E9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7E9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D20
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D20#FFFFFF#000000##000000
##7E9D201.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A2922D
Tritanopia (blue-blind)
#859586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d20;
/* rgb */ color: rgb(126, 157, 32);
/* oklch */ color: oklch(65.0% 0.149 123.2);
Tailwind
colors: {
  custom: {
    50: '#a7ba67',
    500: '#7e9d20',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d20;
$custom-light: #a7ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d20",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 74.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64985,
    "c": 0.14856,
    "h": 123.2
  },
  "luminance": 0.28654
}

Semantic roles & 50–950 ramp

primary
#7E9D20
secondary
#7257C1
accent
#3FE969
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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