#4E7224#4E7224

#4E7224 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.114 H 130.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E7224
RGBrgb(78, 114, 36)
HSLhsl(88, 52%, 29%)
HSVhsv(88, 68%, 45%)
CMYKcmyk(31.6%, 0%, 68.4%, 55.3%)
CIE-LABlab(43.92, -26.41, 37.78)
CIE-LCHlch(43.92, 46.09, 124.95°)
OKLaboklab(50.76% -0.0744 0.0865)
OKLCHoklch(50.76% 0.114 130.7)
XYZxyz(9.4776, 13.7814, 3.8295)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7224 #482472
analogous
#726F24 #4E7224 #277224
triadic
#4E7224 #244E72 #72244E
tetradic
#4E7224 #24726F #482472 #722427
square
#4E7224 #24726F #482472 #722427
split-complementary
#4E7224 #242772 #6F2472
monochromatic
#101707 #2E4315 #4E7224 #6EA133 #8DC64A

Accessibility & contrast

On white

5.59
#4E7224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E7224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7224
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7224#FFFFFF#000000##FFFFFF
##4E72241.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1A
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7224;
/* rgb */ color: rgb(78, 114, 36);
/* oklch */ color: oklch(50.8% 0.114 130.7);
Tailwind
colors: {
  custom: {
    50: '#829a63',
    500: '#4e7224',
    950: '#000000',
  },
}
SCSS
$custom: #4e7224;
$custom-light: #829a63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7224",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 87.692,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.11408,
    "h": 130.7
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#4E7224
secondary
#764DA5
accent
#4CDB8E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7224

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

Preview Lab → · Contrast checker → · Palette generator →

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