#4E7223#4E7223

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

Color values

HEX#4E7223
RGBrgb(78, 114, 35)
HSLhsl(87, 53%, 29%)
HSVhsv(87, 69%, 45%)
CMYKcmyk(31.6%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.91, -26.49, 38.22)
CIE-LCHlch(43.91, 46.50, 124.73°)
OKLaboklab(50.75% -0.0748 0.0872)
OKLCHoklch(50.75% 0.115 130.6)
XYZxyz(9.4625, 13.7754, 3.7501)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7223 #472372
analogous
#726F23 #4E7223 #277223
triadic
#4E7223 #234E72 #72234E
tetradic
#4E7223 #23726F #472372 #722327
square
#4E7223 #23726F #472372 #722327
split-complementary
#4E7223 #232772 #6F2372
monochromatic
#101707 #2E4315 #4E7223 #6EA131 #8DC748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7223#FFFFFF#000000##FFFFFF
##4E72231.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)
#776A18
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7223;
/* rgb */ color: rgb(78, 114, 35);
/* oklch */ color: oklch(50.7% 0.115 130.6);
Tailwind
colors: {
  custom: {
    50: '#839a62',
    500: '#4e7223',
    950: '#000000',
  },
}
SCSS
$custom: #4e7223;
$custom-light: #839a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7223",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 87.342,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.11489,
    "h": 130.6
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#4E7223
secondary
#744CA5
accent
#4BDC8D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7223

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

Preview Lab → · Contrast checker → · Palette generator →

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