#4E7220#4E7220

#4E7220 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.117 H 130.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4E7220
RGBrgb(78, 114, 32)
HSLhsl(86, 56%, 29%)
HSVhsv(86, 72%, 45%)
CMYKcmyk(31.6%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.88, -26.74, 39.50)
CIE-LCHlch(43.88, 47.70, 124.09°)
OKLaboklab(50.72% -0.0757 0.0895)
OKLCHoklch(50.72% 0.117 130.2)
XYZxyz(9.4198, 13.7583, 3.5255)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7220 #442072
analogous
#726D20 #4E7220 #257220
triadic
#4E7220 #204E72 #72204E
tetradic
#4E7220 #20726D #442072 #722025
square
#4E7220 #20726D #442072 #722025
split-complementary
#4E7220 #202572 #6D2072
monochromatic
#101807 #2D4213 #4E7220 #6FA22D #8ECA42

Accessibility & contrast

On white

5.60
#4E7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7220
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7220#FFFFFF#000000##FFFFFF
##4E72201.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776914
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7220;
/* rgb */ color: rgb(78, 114, 32);
/* oklch */ color: oklch(50.7% 0.117 130.2);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4e7220',
    950: '#000000',
  },
}
SCSS
$custom: #4e7220;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7220",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 86.341,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.11721,
    "h": 130.2
  },
  "luminance": 0.13759
}

Semantic roles & 50–950 ramp

primary
#4E7220
secondary
#7148A6
accent
#48DF8B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7220

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

Preview Lab → · Contrast checker → · Palette generator →

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