#4E7420#4E7420

#4E7420 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.120 H 130.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E7420
RGBrgb(78, 116, 32)
HSLhsl(87, 57%, 29%)
HSVhsv(87, 72%, 45%)
CMYKcmyk(32.8%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.54, -27.70, 40.18)
CIE-LCHlch(44.54, 48.80, 124.59°)
OKLaboklab(51.25% -0.0783 0.0909)
OKLCHoklch(51.25% 0.12 130.8)
XYZxyz(9.6479, 14.2145, 3.6016)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7420 #462074
analogous
#747020 #4E7420 #247420
triadic
#4E7420 #204E74 #74204E
tetradic
#4E7420 #207470 #462074 #742024
square
#4E7420 #207470 #462074 #742024
split-complementary
#4E7420 #202474 #702074
monochromatic
#101807 #2E4413 #4E7420 #6EA42D #8ECB43

Accessibility & contrast

On white

5.46
#4E7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4E7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7420
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7420#FFFFFF#000000##FFFFFF
##4E74201.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7420;
/* rgb */ color: rgb(78, 116, 32);
/* oklch */ color: oklch(51.3% 0.120 130.8);
Tailwind
colors: {
  custom: {
    50: '#839c61',
    500: '#4e7420',
    950: '#000000',
  },
}
SCSS
$custom: #4e7420;
$custom-light: #839c61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7420",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 87.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.12,
    "h": 130.8
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#4E7420
secondary
#7348A8
accent
#48E08D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7420

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

Preview Lab → · Contrast checker → · Palette generator →

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