#5A9E1B#5A9E1B

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

Color values

HEX#5A9E1B
RGBrgb(90, 158, 27)
HSLhsl(91, 71%, 36%)
HSVhsv(91, 83%, 62%)
CMYKcmyk(43%, 0%, 82.9%, 38%)
CIE-LABlab(58.70, -42.27, 55.70)
CIE-LCHlch(58.70, 69.93, 127.19°)
OKLaboklab(62.99% -0.1189 0.1224)
OKLCHoklch(62.99% 0.171 134.2)
XYZxyz(16.6408, 26.7056, 5.3146)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E1B #5F1B9E
analogous
#9C9E1B #5A9E1B #1B9E1E
triadic
#5A9E1B #1B5A9E #9E1B5A
tetradic
#5A9E1B #1B9C9E #5F1B9E #9E1E1B
square
#5A9E1B #1B9C9E #5F1B9E #9E1E1B
split-complementary
#5A9E1B #1E1B9E #9E1B9C
monochromatic
#1E3509 #3C6A12 #5A9E1B #78D224 #97E152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9E1B#FFFFFF#000000##000000
##5A9E1B1.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)
#9B8B2B
Tritanopia (blue-blind)
#599886
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e1b;
/* rgb */ color: rgb(90, 158, 27);
/* oklch */ color: oklch(63.0% 0.171 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fbb65',
    500: '#5a9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e1b;
$custom-light: #8fbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e1b",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 91.145,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62989,
    "c": 0.17064,
    "h": 134.2
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#5A9E1B
secondary
#8D51C4
accent
#3AEE97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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