#4E7D20#4E7D20

#4E7D20 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.132 H 132.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7D20
RGBrgb(78, 125, 32)
HSLhsl(90, 59%, 31%)
HSVhsv(90, 74%, 49%)
CMYKcmyk(37.6%, 0%, 74.4%, 51%)
CIE-LABlab(47.48, -31.94, 43.17)
CIE-LCHlch(47.48, 53.70, 126.50°)
OKLaboklab(53.65% -0.0898 0.0972)
OKLCHoklch(53.65% 0.132 132.8)
XYZxyz(10.7361, 16.3908, 3.9643)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D20 #4F207D
analogous
#7C7D20 #4E7D20 #207D21
triadic
#4E7D20 #204E7D #7D204E
tetradic
#4E7D20 #207C7D #4F207D #7D2120
square
#4E7D20 #207C7D #4F207D #7D2120
split-complementary
#4E7D20 #21207D #7D207C
monochromatic
#111C07 #304C14 #4E7D20 #6CAE2C #8BD047

Accessibility & contrast

On white

4.91
#4E7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D20
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D20#FFFFFF#000000##FFFFFF
##4E7D201.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d20;
/* rgb */ color: rgb(78, 125, 32);
/* oklch */ color: oklch(53.7% 0.132 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a362',
    500: '#4e7d20',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d20;
$custom-light: #84a362;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d20",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 90.323,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.13234,
    "h": 132.8
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#4E7D20
secondary
#7D49B0
accent
#45E295
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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