#5A9B1E#5A9B1E

#5A9B1E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.2% C 0.166 H 133.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5A9B1E
RGBrgb(90, 155, 30)
HSLhsl(91, 68%, 36%)
HSVhsv(91, 81%, 61%)
CMYKcmyk(41.9%, 0%, 80.6%, 39.2%)
CIE-LABlab(57.76, -40.87, 53.97)
CIE-LCHlch(57.76, 67.70, 127.13°)
OKLaboklab(62.22% -0.1149 0.1193)
OKLCHoklch(62.22% 0.166 133.9)
XYZxyz(16.1718, 25.7092, 5.3383)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9B1E #5F1E9B
analogous
#999B1E #5A9B1E #1E9B21
triadic
#5A9B1E #1E5A9B #9B1E5A
tetradic
#5A9B1E #1E999B #5F1E9B #9B211E
square
#5A9B1E #1E999B #5F1E9B #9B211E
split-complementary
#5A9B1E #211E9B #9B1E99
monochromatic
#1E340A #3C6814 #5A9B1E #78CE28 #97DE55

Accessibility & contrast

On white

3.42
#5A9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#5A9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9B1E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9B1E#FFFFFF#000000##000000
##5A9B1E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#599584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a9b1e;
/* rgb */ color: rgb(90, 155, 30);
/* oklch */ color: oklch(62.2% 0.166 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fb965',
    500: '#5a9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9b1e;
$custom-light: #8fb965;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9b1e",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 91.2,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.1656,
    "h": 133.9
  },
  "luminance": 0.2571
}

Semantic roles & 50–950 ramp

primary
#5A9B1E
secondary
#8D53C2
accent
#3DEA97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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