#5A9E19#5A9E19

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

Color values

HEX#5A9E19
RGBrgb(90, 158, 25)
HSLhsl(91, 73%, 36%)
HSVhsv(91, 84%, 62%)
CMYKcmyk(43%, 0%, 84.2%, 38%)
CIE-LABlab(58.69, -42.36, 56.23)
CIE-LCHlch(58.69, 70.40, 126.99°)
OKLaboklab(62.98% -0.1192 0.1233)
OKLCHoklch(62.98% 0.171 134)
XYZxyz(16.6185, 26.6967, 5.1968)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E19 #5D199E
analogous
#9C9E19 #5A9E19 #199E1B
triadic
#5A9E19 #195A9E #9E195A
tetradic
#5A9E19 #199C9E #5D199E #9E1B19
square
#5A9E19 #199C9E #5D199E #9E1B19
split-complementary
#5A9E19 #1B199E #9E199C
monochromatic
#1E3408 #3C6911 #5A9E19 #78D321 #97E34E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9E19#FFFFFF#000000##000000
##5A9E191.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)
#599786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e19;
/* rgb */ color: rgb(90, 158, 25);
/* oklch */ color: oklch(63.0% 0.171 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fbb64',
    500: '#5a9e19',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e19;
$custom-light: #8fbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e19",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 25
  },
  "hsl": {
    "h": 90.677,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.17148,
    "h": 134
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#5A9E19
secondary
#8B4EC5
accent
#38EF96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E19

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

Preview Lab → · Contrast checker → · Palette generator →

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