#4E841A#4E841A

#4E841A is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.145 H 133.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4E841A
RGBrgb(78, 132, 26)
HSLhsl(91, 67%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(40.9%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.73, -35.47, 47.52)
CIE-LCHlch(49.73, 59.30, 126.73°)
OKLaboklab(55.48% -0.0998 0.1053)
OKLCHoklch(55.48% 0.145 133.5)
XYZxyz(11.5794, 18.1962, 3.8792)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E841A #501A84
analogous
#83841A #4E841A #1A841B
triadic
#4E841A #1A4E84 #841A4E
tetradic
#4E841A #1A8384 #501A84 #841B1A
square
#4E841A #1A8384 #501A84 #841B1A
split-complementary
#4E841A #1B1A84 #841A83
monochromatic
#121E06 #305110 #4E841A #6CB724 #8BD93F

Accessibility & contrast

On white

4.53
#4E841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4E841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E841A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E841A#FFFFFF#000000##000000
##4E841A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#4E7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e841a;
/* rgb */ color: rgb(78, 132, 26);
/* oklch */ color: oklch(55.5% 0.145 133.5);
Tailwind
colors: {
  custom: {
    50: '#85a860',
    500: '#4e841a',
    950: '#000000',
  },
}
SCSS
$custom: #4e841a;
$custom-light: #85a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4e841a",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 90.566,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.14513,
    "h": 133.5
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#4E841A
secondary
#7E42B8
accent
#3EEA96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E841A

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

Preview Lab → · Contrast checker → · Palette generator →

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