#5E8B1A#5E8B1A

#5E8B1A is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.145 H 129.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E8B1A
RGBrgb(94, 139, 26)
HSLhsl(84, 68%, 32%)
HSVhsv(84, 81%, 55%)
CMYKcmyk(32.4%, 0%, 81.3%, 45.5%)
CIE-LABlab(52.86, -32.54, 50.75)
CIE-LCHlch(52.86, 60.28, 122.66°)
OKLaboklab(58.27% -0.093 0.1117)
OKLCHoklch(58.27% 0.145 129.8)
XYZxyz(14.0351, 20.9191, 4.2754)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B1A #471A8B
analogous
#8B801A #5E8B1A #258B1A
triadic
#5E8B1A #1A5E8B #8B1A5E
tetradic
#5E8B1A #1A8B80 #471A8B #8B1A25
square
#5E8B1A #1A8B80 #471A8B #8B1A25
split-complementary
#5E8B1A #1A258B #801A8B
monochromatic
#182407 #3B5710 #5E8B1A #81BF24 #9FDC43

Accessibility & contrast

On white

4.05
#5E8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5E8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B1A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B1A#FFFFFF#000000##000000
##5E8B1A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#618576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b1a;
/* rgb */ color: rgb(94, 139, 26);
/* oklch */ color: oklch(58.3% 0.145 129.8);
Tailwind
colors: {
  custom: {
    50: '#90ad61',
    500: '#5e8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b1a;
$custom-light: #90ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b1a",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 83.894,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.14536,
    "h": 129.8
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

primary
#5E8B1A
secondary
#7444BD
accent
#3CEB82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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