#4E851B#4E851B

#4E851B is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.146 H 133.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E851B
RGBrgb(78, 133, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(41.4%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.07, -35.85, 47.51)
CIE-LCHlch(50.07, 59.51, 127.04°)
OKLaboklab(55.75% -0.1008 0.1055)
OKLCHoklch(55.75% 0.146 133.7)
XYZxyz(11.7270, 18.4733, 3.9845)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E851B #521B85
analogous
#83851B #4E851B #1B851D
triadic
#4E851B #1B4E85 #851B4E
tetradic
#4E851B #1B8385 #521B85 #851D1B
square
#4E851B #1B8385 #521B85 #851D1B
split-complementary
#4E851B #1D1B85 #851B83
monochromatic
#121F06 #305211 #4E851B #6CB825 #8AD942

Accessibility & contrast

On white

4.47
#4E851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4E851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E851B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E851B#FFFFFF#000000##000000
##4E851B1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#4E7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e851b;
/* rgb */ color: rgb(78, 133, 27);
/* oklch */ color: oklch(55.8% 0.146 133.7);
Tailwind
colors: {
  custom: {
    50: '#85a961',
    500: '#4e851b',
    950: '#000000',
  },
}
SCSS
$custom: #4e851b;
$custom-light: #85a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4e851b",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 91.132,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.14589,
    "h": 133.7
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#4E851B
secondary
#8044B8
accent
#3FE997
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4E851B

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

Preview Lab → · Contrast checker → · Palette generator →

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