#4E721F#4E721F

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

Color values

HEX#4E721F
RGBrgb(78, 114, 31)
HSLhsl(86, 57%, 28%)
HSVhsv(86, 73%, 45%)
CMYKcmyk(31.6%, 0%, 72.8%, 55.3%)
CIE-LABlab(43.88, -26.81, 39.92)
CIE-LCHlch(43.88, 48.09, 123.89°)
OKLaboklab(50.71% -0.076 0.0902)
OKLCHoklch(50.71% 0.118 130.1)
XYZxyz(9.4065, 13.7530, 3.4550)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E721F #431F72
analogous
#726C1F #4E721F #24721F
triadic
#4E721F #1F4E72 #721F4E
tetradic
#4E721F #1F726C #431F72 #721F24
square
#4E721F #1F726C #431F72 #721F24
split-complementary
#4E721F #1F2472 #6C1F72
monochromatic
#101807 #2D4212 #4E721F #6FA22C #8FCB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E721F#FFFFFF#000000##FFFFFF
##4E721F1.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)
#776912
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e721f;
/* rgb */ color: rgb(78, 114, 31);
/* oklch */ color: oklch(50.7% 0.118 130.1);
Tailwind
colors: {
  custom: {
    50: '#839a60',
    500: '#4e721f',
    950: '#000000',
  },
}
SCSS
$custom: #4e721f;
$custom-light: #839a60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e721f",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 86.024,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.11794,
    "h": 130.1
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

primary
#4E721F
secondary
#7047A6
accent
#47E08A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E721F

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

Preview Lab → · Contrast checker → · Palette generator →

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