#4E7A20#4E7A20

#4E7A20 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.9% C 0.128 H 132.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7A20
RGBrgb(78, 122, 32)
HSLhsl(89, 58%, 30%)
HSVhsv(89, 74%, 48%)
CMYKcmyk(36.1%, 0%, 73.8%, 52.2%)
CIE-LABlab(46.50, -30.55, 42.18)
CIE-LCHlch(46.50, 52.08, 125.92°)
OKLaboklab(52.85% -0.0861 0.0951)
OKLCHoklch(52.85% 0.128 132.2)
XYZxyz(10.3620, 15.6426, 3.8396)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A20 #4C207A
analogous
#7A7920 #4E7A20 #217A20
triadic
#4E7A20 #204E7A #7A204E
tetradic
#4E7A20 #207A79 #4C207A #7A2021
square
#4E7A20 #207A79 #4C207A #7A2021
split-complementary
#4E7A20 #20217A #79207A
monochromatic
#101907 #2F4A13 #4E7A20 #6DAA2D #8CCE46

Accessibility & contrast

On white

5.09
#4E7A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A20#FFFFFF#000000##FFFFFF
##4E7A201.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a20;
/* rgb */ color: rgb(78, 122, 32);
/* oklch */ color: oklch(52.9% 0.128 132.2);
Tailwind
colors: {
  custom: {
    50: '#83a162',
    500: '#4e7a20',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a20;
$custom-light: #83a162;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a20",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 89.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.12826,
    "h": 132.2
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#4E7A20
secondary
#7A49AD
accent
#46E292
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #4E7A20

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

Preview Lab → · Contrast checker → · Palette generator →

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