#5E841A#5E841A

#5E841A is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.136 H 128.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5E841A
RGBrgb(94, 132, 26)
HSLhsl(82, 67%, 31%)
HSVhsv(82, 80%, 52%)
CMYKcmyk(28.8%, 0%, 80.3%, 48.2%)
CIE-LABlab(50.64, -29.26, 48.69)
CIE-LCHlch(50.64, 56.80, 121.00°)
OKLaboklab(56.46% -0.0841 0.1074)
OKLCHoklch(56.46% 0.136 128.1)
XYZxyz(13.0538, 18.9565, 3.9483)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E841A #401A84
analogous
#84751A #5E841A #29841A
triadic
#5E841A #1A5E84 #841A5E
tetradic
#5E841A #1A8475 #401A84 #841A29
square
#5E841A #1A8475 #401A84 #841A29
split-complementary
#5E841A #1A2984 #751A84
monochromatic
#151E06 #3A5110 #5E841A #82B724 #A2D93F

Accessibility & contrast

On white

4.38
#5E841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5E841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E841A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E841A#FFFFFF#000000##000000
##5E841A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#627E70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e841a;
/* rgb */ color: rgb(94, 132, 26);
/* oklch */ color: oklch(56.5% 0.136 128.1);
Tailwind
colors: {
  custom: {
    50: '#8fa860',
    500: '#5e841a',
    950: '#000000',
  },
}
SCSS
$custom: #5e841a;
$custom-light: #8fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#5e841a",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 81.509,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.13641,
    "h": 128.1
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#5E841A
secondary
#6C42B8
accent
#3EEA7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E841A

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

Preview Lab → · Contrast checker → · Palette generator →

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