#4E7B20#4E7B20

#4E7B20 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.130 H 132.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E7B20
RGBrgb(78, 123, 32)
HSLhsl(90, 59%, 30%)
HSVhsv(90, 74%, 48%)
CMYKcmyk(36.6%, 0%, 74%, 51.8%)
CIE-LABlab(46.83, -31.01, 42.51)
CIE-LCHlch(46.83, 52.62, 126.11°)
OKLaboklab(53.12% -0.0873 0.0958)
OKLCHoklch(53.12% 0.13 132.4)
XYZxyz(10.4854, 15.8895, 3.8807)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B20 #4D207B
analogous
#7B7A20 #4E7B20 #217B20
triadic
#4E7B20 #204E7B #7B204E
tetradic
#4E7B20 #207B7A #4D207B #7B2021
square
#4E7B20 #207B7A #4D207B #7B2021
split-complementary
#4E7B20 #20217B #7A207B
monochromatic
#101A07 #2F4A13 #4E7B20 #6DAC2D #8BCF46

Accessibility & contrast

On white

5.03
#4E7B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B20
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B20#FFFFFF#000000##FFFFFF
##4E7B201.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b20;
/* rgb */ color: rgb(78, 123, 32);
/* oklch */ color: oklch(53.1% 0.130 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a162',
    500: '#4e7b20',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b20;
$custom-light: #83a162;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b20",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 89.67,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.12963,
    "h": 132.4
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#4E7B20
secondary
#7B49AE
accent
#46E293
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #4E7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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