#4E7221#4E7221

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

Color values

HEX#4E7221
RGBrgb(78, 114, 33)
HSLhsl(87, 55%, 29%)
HSVhsv(87, 71%, 45%)
CMYKcmyk(31.6%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.89, -26.66, 39.08)
CIE-LCHlch(43.89, 47.31, 124.30°)
OKLaboklab(50.73% -0.0754 0.0888)
OKLCHoklch(50.73% 0.116 130.3)
XYZxyz(9.4336, 13.7638, 3.5982)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7221 #452172
analogous
#726E21 #4E7221 #267221
triadic
#4E7221 #214E72 #72214E
tetradic
#4E7221 #21726E #452172 #722126
square
#4E7221 #21726E #452172 #722126
split-complementary
#4E7221 #212672 #6E2172
monochromatic
#101807 #2E4313 #4E7221 #6EA12F #8EC944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7221#FFFFFF#000000##FFFFFF
##4E72211.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)
#776915
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7221;
/* rgb */ color: rgb(78, 114, 33);
/* oklch */ color: oklch(50.7% 0.116 130.3);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4e7221',
    950: '#000000',
  },
}
SCSS
$custom: #4e7221;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7221",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 86.667,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.11646,
    "h": 130.3
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#4E7221
secondary
#7249A5
accent
#49DE8C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7221

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

Preview Lab → · Contrast checker → · Palette generator →

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