#5E8D1A#5E8D1A

#5E8D1A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.148 H 130.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5E8D1A
RGBrgb(94, 141, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 55%)
CMYKcmyk(33.3%, 0%, 81.6%, 44.7%)
CIE-LABlab(53.50, -33.45, 51.33)
CIE-LCHlch(53.50, 61.27, 123.09°)
OKLaboklab(58.79% -0.0954 0.113)
OKLCHoklch(58.79% 0.148 130.2)
XYZxyz(14.3274, 21.5035, 4.3728)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D1A #491A8D
analogous
#8D821A #5E8D1A #248D1A
triadic
#5E8D1A #1A5E8D #8D1A5E
tetradic
#5E8D1A #1A8D82 #491A8D #8D1A24
square
#5E8D1A #1A8D82 #491A8D #8D1A24
split-complementary
#5E8D1A #1A248D #821A8D
monochromatic
#192607 #3C5910 #5E8D1A #80C124 #9FDD45

Accessibility & contrast

On white

3.96
#5E8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5E8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D1A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D1A#FFFFFF#000000##000000
##5E8D1A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d1a;
/* rgb */ color: rgb(94, 141, 26);
/* oklch */ color: oklch(58.8% 0.148 130.2);
Tailwind
colors: {
  custom: {
    50: '#90ae62',
    500: '#5e8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d1a;
$custom-light: #90ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d1a",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 84.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.14789,
    "h": 130.2
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#5E8D1A
secondary
#7645BE
accent
#3CEC84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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