#5A8E1A#5A8E1A

#5A8E1A is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.151 H 131.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A8E1A
RGBrgb(90, 142, 26)
HSLhsl(87, 69%, 33%)
HSVhsv(87, 82%, 56%)
CMYKcmyk(36.6%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.59, -35.44, 51.34)
CIE-LCHlch(53.59, 62.38, 124.62°)
OKLaboklab(58.81% -0.1005 0.1131)
OKLCHoklch(58.81% 0.151 131.6)
XYZxyz(14.0758, 21.5937, 4.4034)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8E1A #4E1A8E
analogous
#8E881A #5A8E1A #208E1A
triadic
#5A8E1A #1A5A8E #8E1A5A
tetradic
#5A8E1A #1A8E88 #4E1A8E #8E1A20
square
#5A8E1A #1A8E88 #4E1A8E #8E1A20
split-complementary
#5A8E1A #1A208E #881A8E
monochromatic
#182707 #395A11 #5A8E1A #7BC223 #99DD45

Accessibility & contrast

On white

3.95
#5A8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5A8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8E1A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8E1A#FFFFFF#000000##000000
##5A8E1A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#5B8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a8e1a;
/* rgb */ color: rgb(90, 142, 26);
/* oklch */ color: oklch(58.8% 0.151 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eaf62',
    500: '#5a8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5a8e1a;
$custom-light: #8eaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8e1a",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 86.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.15133,
    "h": 131.6
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#5A8E1A
secondary
#7C45BE
accent
#3CEC8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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