#4E7C20#4E7C20

#4E7C20 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.131 H 132.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E7C20
RGBrgb(78, 124, 32)
HSLhsl(90, 59%, 31%)
HSVhsv(90, 74%, 49%)
CMYKcmyk(37.1%, 0%, 74.2%, 51.4%)
CIE-LABlab(47.16, -31.48, 42.84)
CIE-LCHlch(47.16, 53.16, 126.31°)
OKLaboklab(53.39% -0.0886 0.0965)
OKLCHoklch(53.39% 0.131 132.6)
XYZxyz(10.6101, 16.1388, 3.9223)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C20 #4E207C
analogous
#7C7C20 #4E7C20 #207C20
triadic
#4E7C20 #204E7C #7C204E
tetradic
#4E7C20 #207C7C #4E207C #7C2020
square
#4E7C20 #207C7C #4E207C #7C2020
split-complementary
#4E7C20 #20207C #7C207C
monochromatic
#111B07 #2F4B13 #4E7C20 #6DAD2D #8BCF47

Accessibility & contrast

On white

4.97
#4E7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E7C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C20#FFFFFF#000000##FFFFFF
##4E7C201.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c20;
/* rgb */ color: rgb(78, 124, 32);
/* oklch */ color: oklch(53.4% 0.131 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a262',
    500: '#4e7c20',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c20;
$custom-light: #84a262;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c20",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.13099,
    "h": 132.6
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#4E7C20
secondary
#7C49AF
accent
#46E294
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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