#4E851F#4E851F

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

Color values

HEX#4E851F
RGBrgb(78, 133, 31)
HSLhsl(92, 62%, 32%)
HSVhsv(92, 77%, 52%)
CMYKcmyk(41.4%, 0%, 76.7%, 47.8%)
CIE-LABlab(50.09, -35.60, 46.13)
CIE-LCHlch(50.09, 58.27, 127.66°)
OKLaboklab(55.78% -0.0998 0.1032)
OKLCHoklch(55.78% 0.144 134.1)
XYZxyz(11.7765, 18.4931, 4.2451)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E851F #561F85
analogous
#81851F #4E851F #1F8523
triadic
#4E851F #1F4E85 #851F4E
tetradic
#4E851F #1F8185 #561F85 #85231F
square
#4E851F #1F8185 #561F85 #85231F
split-complementary
#4E851F #231F85 #851F81
monochromatic
#142208 #315313 #4E851F #6BB72B #8AD54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E851F#FFFFFF#000000##000000
##4E851F1.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)
#8A7A09
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#4E8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e851f;
/* rgb */ color: rgb(78, 133, 31);
/* oklch */ color: oklch(55.8% 0.144 134.1);
Tailwind
colors: {
  custom: {
    50: '#85a962',
    500: '#4e851f',
    950: '#000000',
  },
}
SCSS
$custom: #4e851f;
$custom-light: #85a962;
$custom-dark: #000000;
JSON
{
  "hex": "#4e851f",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 92.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.1436,
    "h": 134.1
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#4E851F
secondary
#8449B7
accent
#43E59A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E851F

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

Preview Lab → · Contrast checker → · Palette generator →

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