#5A9E1A#5A9E1A

#5A9E1A is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.171 H 134.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9E1A
RGBrgb(90, 158, 26)
HSLhsl(91, 72%, 36%)
HSVhsv(91, 84%, 62%)
CMYKcmyk(43%, 0%, 83.5%, 38%)
CIE-LABlab(58.70, -42.32, 55.97)
CIE-LCHlch(58.70, 70.17, 127.09°)
OKLaboklab(62.98% -0.119 0.1229)
OKLCHoklch(62.98% 0.171 134.1)
XYZxyz(16.6295, 26.7010, 5.2547)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E1A #5E1A9E
analogous
#9C9E1A #5A9E1A #1A9E1C
triadic
#5A9E1A #1A5A9E #9E1A5A
tetradic
#5A9E1A #1A9C9E #5E1A9E #9E1C1A
square
#5A9E1A #1A9C9E #5E1A9E #9E1C1A
split-complementary
#5A9E1A #1C1A9E #9E1A9C
monochromatic
#1E3509 #3C6911 #5A9E1A #78D323 #97E250

Accessibility & contrast

On white

3.31
#5A9E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E1A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E1A#FFFFFF#000000##000000
##5A9E1A1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#599886
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e1a;
/* rgb */ color: rgb(90, 158, 26);
/* oklch */ color: oklch(63.0% 0.171 134.1);
Tailwind
colors: {
  custom: {
    50: '#8fbb64',
    500: '#5a9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e1a;
$custom-light: #8fbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e1a",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 90.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.17106,
    "h": 134.1
  },
  "luminance": 0.26702
}

Semantic roles & 50–950 ramp

primary
#5A9E1A
secondary
#8C4FC5
accent
#39EE97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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