#4E7E20#4E7E20

#4E7E20 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.134 H 133.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7E20
RGBrgb(78, 126, 32)
HSLhsl(91, 59%, 31%)
HSVhsv(91, 75%, 49%)
CMYKcmyk(38.1%, 0%, 74.6%, 50.6%)
CIE-LABlab(47.81, -32.39, 43.49)
CIE-LCHlch(47.81, 54.23, 126.68°)
OKLaboklab(53.92% -0.0911 0.0979)
OKLCHoklch(53.92% 0.134 133)
XYZxyz(10.8633, 16.6452, 4.0067)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E20 #50207E
analogous
#7D7E20 #4E7E20 #207E21
triadic
#4E7E20 #204E7E #7E204E
tetradic
#4E7E20 #207D7E #50207E #7E2120
square
#4E7E20 #207D7E #50207E #7E2120
split-complementary
#4E7E20 #21207E #7E207D
monochromatic
#121C07 #304D14 #4E7E20 #6CAF2C #8BD048

Accessibility & contrast

On white

4.85
#4E7E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E20
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E20#FFFFFF#000000##FFFFFF
##4E7E201.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e20;
/* rgb */ color: rgb(78, 126, 32);
/* oklch */ color: oklch(53.9% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a462',
    500: '#4e7e20',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e20;
$custom-light: #84a462;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e20",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 90.638,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.13369,
    "h": 133
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#4E7E20
secondary
#7E49B1
accent
#45E396
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7E20

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

Preview Lab → · Contrast checker → · Palette generator →

#4E7E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva