#4E7620#4E7620

#4E7620 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.123 H 131.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4E7620
RGBrgb(78, 118, 32)
HSLhsl(88, 57%, 29%)
HSVhsv(88, 73%, 46%)
CMYKcmyk(33.9%, 0%, 72.9%, 53.7%)
CIE-LABlab(45.19, -28.66, 40.85)
CIE-LCHlch(45.19, 49.90, 125.06°)
OKLaboklab(51.79% -0.0809 0.0923)
OKLCHoklch(51.79% 0.123 131.2)
XYZxyz(9.8809, 14.6805, 3.6792)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7620 #482076
analogous
#767320 #4E7620 #237620
triadic
#4E7620 #204E76 #76204E
tetradic
#4E7620 #207673 #482076 #762023
square
#4E7620 #207673 #482076 #762023
split-complementary
#4E7620 #202376 #732076
monochromatic
#101807 #2E4613 #4E7620 #6EA62D #8DCC44

Accessibility & contrast

On white

5.34
#4E7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7620
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7620#FFFFFF#000000##FFFFFF
##4E76201.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#4F7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7620;
/* rgb */ color: rgb(78, 118, 32);
/* oklch */ color: oklch(51.8% 0.123 131.2);
Tailwind
colors: {
  custom: {
    50: '#839e61',
    500: '#4e7620',
    950: '#000000',
  },
}
SCSS
$custom: #4e7620;
$custom-light: #839e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7620",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 87.907,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.12278,
    "h": 131.2
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#4E7620
secondary
#7648A9
accent
#47E18F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7620

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

Preview Lab → · Contrast checker → · Palette generator →

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