#5A9F19#5A9F19

#5A9F19 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.2% C 0.173 H 134.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A9F19
RGBrgb(90, 159, 25)
HSLhsl(91, 73%, 36%)
HSVhsv(91, 84%, 62%)
CMYKcmyk(43.4%, 0%, 84.3%, 37.6%)
CIE-LABlab(59.01, -42.77, 56.52)
CIE-LCHlch(59.01, 70.88, 127.12°)
OKLaboklab(63.24% -0.1203 0.1239)
OKLCHoklch(63.24% 0.173 134.2)
XYZxyz(16.7897, 27.0392, 5.2539)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F19 #5E199F
analogous
#9D9F19 #5A9F19 #199F1B
triadic
#5A9F19 #195A9F #9F195A
tetradic
#5A9F19 #199D9F #5E199F #9F1B19
square
#5A9F19 #199D9F #5E199F #9F1B19
split-complementary
#5A9F19 #1B199F #9F199D
monochromatic
#1E3508 #3C6A11 #5A9F19 #78D421 #97E34F

Accessibility & contrast

On white

3.28
#5A9F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A9F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F19
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F19#FFFFFF#000000##000000
##5A9F191.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f19;
/* rgb */ color: rgb(90, 159, 25);
/* oklch */ color: oklch(63.2% 0.173 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fbc64',
    500: '#5a9f19',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f19;
$custom-light: #8fbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f19",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 25
  },
  "hsl": {
    "h": 90.896,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.17268,
    "h": 134.2
  },
  "luminance": 0.2704
}

Semantic roles & 50–950 ramp

primary
#5A9F19
secondary
#8C4EC6
accent
#38F097
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9F19

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

Preview Lab → · Contrast checker → · Palette generator →

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