#4E721B#4E721B

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

Color values

HEX#4E721B
RGBrgb(78, 114, 27)
HSLhsl(85, 62%, 28%)
HSVhsv(85, 76%, 45%)
CMYKcmyk(31.6%, 0%, 76.3%, 55.3%)
CIE-LABlab(43.85, -27.09, 41.50)
CIE-LCHlch(43.85, 49.56, 123.14°)
OKLaboklab(50.68% -0.0771 0.0929)
OKLCHoklch(50.68% 0.121 129.7)
XYZxyz(9.3570, 13.7332, 3.1945)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E721B #3F1B72
analogous
#726B1B #4E721B #22721B
triadic
#4E721B #1B4E72 #721B4E
tetradic
#4E721B #1B726B #3F1B72 #721B22
square
#4E721B #1B726B #3F1B72 #721B22
split-complementary
#4E721B #1B2272 #6B1B72
monochromatic
#111906 #2C410F #4E721B #70A327 #91D038

Accessibility & contrast

On white

5.61
#4E721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E721B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E721B#FFFFFF#000000##FFFFFF
##4E721B1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690A
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#506D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e721b;
/* rgb */ color: rgb(78, 114, 27);
/* oklch */ color: oklch(50.7% 0.121 129.7);
Tailwind
colors: {
  custom: {
    50: '#839a5e',
    500: '#4e721b',
    950: '#000000',
  },
}
SCSS
$custom: #4e721b;
$custom-light: #839a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e721b",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 84.828,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.12071,
    "h": 129.7
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#4E721B
secondary
#6C42A7
accent
#43E586
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E721B

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

Preview Lab → · Contrast checker → · Palette generator →

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