#4E891F#4E891F

#4E891F is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.149 H 134.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E891F
RGBrgb(78, 137, 31)
HSLhsl(93, 63%, 33%)
HSVhsv(93, 77%, 54%)
CMYKcmyk(43.1%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.39, -37.34, 47.40)
CIE-LCHlch(51.39, 60.34, 128.23°)
OKLaboklab(56.85% -0.1045 0.1059)
OKLCHoklch(56.85% 0.149 134.6)
XYZxyz(12.3346, 19.6093, 4.4311)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E891F #5A1F89
analogous
#83891F #4E891F #1F8925
triadic
#4E891F #1F4E89 #891F4E
tetradic
#4E891F #1F8389 #5A1F89 #89251F
square
#4E891F #1F8389 #5A1F89 #89251F
split-complementary
#4E891F #251F89 #891F83
monochromatic
#152508 #325714 #4E891F #6ABB2A #89D64C

Accessibility & contrast

On white

4.27
#4E891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4E891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E891F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E891F#FFFFFF#000000##000000
##4E891F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#4D8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e891f;
/* rgb */ color: rgb(78, 137, 31);
/* oklch */ color: oklch(56.8% 0.149 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ac63',
    500: '#4e891f',
    950: '#000000',
  },
}
SCSS
$custom: #4e891f;
$custom-light: #85ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e891f",
  "rgb": {
    "r": 78,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 93.396,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.14879,
    "h": 134.6
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#4E891F
secondary
#884BB9
accent
#42E69D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E891F

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

Preview Lab → · Contrast checker → · Palette generator →

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