#4E851C#4E851C

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

Color values

HEX#4E851C
RGBrgb(78, 133, 28)
HSLhsl(91, 65%, 32%)
HSVhsv(91, 79%, 52%)
CMYKcmyk(41.4%, 0%, 78.9%, 47.8%)
CIE-LABlab(50.07, -35.79, 47.17)
CIE-LCHlch(50.07, 59.21, 127.19°)
OKLaboklab(55.76% -0.1006 0.1049)
OKLCHoklch(55.76% 0.145 133.8)
XYZxyz(11.7388, 18.4780, 4.0465)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E851C #531C85
analogous
#83851C #4E851C #1C851F
triadic
#4E851C #1C4E85 #851C4E
tetradic
#4E851C #1C8385 #531C85 #851F1C
square
#4E851C #1C8385 #531C85 #851F1C
split-complementary
#4E851C #1F1C85 #851C83
monochromatic
#132007 #305211 #4E851C #6CB827 #8AD844

Accessibility & contrast

On white

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

On black

4.70
#4E851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E851C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E851C#FFFFFF#000000##000000
##4E851C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#4E8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e851c;
/* rgb */ color: rgb(78, 133, 28);
/* oklch */ color: oklch(55.8% 0.145 133.8);
Tailwind
colors: {
  custom: {
    50: '#85a961',
    500: '#4e851c',
    950: '#000000',
  },
}
SCSS
$custom: #4e851c;
$custom-light: #85a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4e851c",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 91.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.14534,
    "h": 133.8
  },
  "luminance": 0.18479
}

Semantic roles & 50–950 ramp

primary
#4E851C
secondary
#8145B8
accent
#40E898
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4E851C

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

Preview Lab → · Contrast checker → · Palette generator →

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