#4E7820#4E7820

#4E7820 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.126 H 131.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E7820
RGBrgb(78, 120, 32)
HSLhsl(89, 58%, 30%)
HSVhsv(89, 73%, 47%)
CMYKcmyk(35%, 0%, 73.3%, 52.9%)
CIE-LABlab(45.85, -29.61, 41.51)
CIE-LCHlch(45.85, 50.99, 125.50°)
OKLaboklab(52.32% -0.0835 0.0937)
OKLCHoklch(52.32% 0.126 131.7)
XYZxyz(10.1190, 15.1565, 3.7586)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7820 #4A2078
analogous
#787620 #4E7820 #227820
triadic
#4E7820 #204E78 #78204E
tetradic
#4E7820 #207876 #4A2078 #782022
square
#4E7820 #207876 #4A2078 #782022
split-complementary
#4E7820 #202278 #762078
monochromatic
#101806 #2F4813 #4E7820 #6DA82D #8CCD45

Accessibility & contrast

On white

5.21
#4E7820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E7820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7820
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7820#FFFFFF#000000##FFFFFF
##4E78201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F12
Deuteranopia (green-blind)
#786B28
Tritanopia (blue-blind)
#4F7367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7820;
/* rgb */ color: rgb(78, 120, 32);
/* oklch */ color: oklch(52.3% 0.126 131.7);
Tailwind
colors: {
  custom: {
    50: '#839f61',
    500: '#4e7820',
    950: '#000000',
  },
}
SCSS
$custom: #4e7820;
$custom-light: #839f61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7820",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 88.636,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.12553,
    "h": 131.7
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#4E7820
secondary
#7848AB
accent
#47E190
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7820

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

Preview Lab → · Contrast checker → · Palette generator →

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