#4E721C#4E721C

#4E721C is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.120 H 129.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4E721C
RGBrgb(78, 114, 28)
HSLhsl(85, 61%, 28%)
HSVhsv(85, 75%, 45%)
CMYKcmyk(31.6%, 0%, 75.4%, 55.3%)
CIE-LABlab(43.85, -27.03, 41.12)
CIE-LCHlch(43.85, 49.20, 123.32°)
OKLaboklab(50.69% -0.0768 0.0922)
OKLCHoklch(50.69% 0.12 129.8)
XYZxyz(9.3688, 13.7379, 3.2564)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E721C #401C72
analogous
#726B1C #4E721C #23721C
triadic
#4E721C #1C4E72 #721C4E
tetradic
#4E721C #1C726B #401C72 #721C23
square
#4E721C #1C726B #401C72 #721C23
split-complementary
#4E721C #1C2372 #6B1C72
monochromatic
#111906 #2C4110 #4E721C #70A328 #90CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E721C#FFFFFF#000000##FFFFFF
##4E721C1.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)
#78690C
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#506D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e721c;
/* rgb */ color: rgb(78, 114, 28);
/* oklch */ color: oklch(50.7% 0.120 129.8);
Tailwind
colors: {
  custom: {
    50: '#839a5e',
    500: '#4e721c',
    950: '#000000',
  },
}
SCSS
$custom: #4e721c;
$custom-light: #839a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e721c",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 85.116,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.12005,
    "h": 129.8
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#4E721C
secondary
#6D43A6
accent
#44E487
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E721C

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

Preview Lab → · Contrast checker → · Palette generator →

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