#5A9C1E#5A9C1E

#5A9C1E is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.167 H 134.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A9C1E
RGBrgb(90, 156, 30)
HSLhsl(91, 68%, 36%)
HSVhsv(91, 81%, 61%)
CMYKcmyk(42.3%, 0%, 80.8%, 38.8%)
CIE-LABlab(58.08, -41.29, 54.27)
CIE-LCHlch(58.08, 68.19, 127.27°)
OKLaboklab(62.48% -0.116 0.1199)
OKLCHoklch(62.48% 0.167 134.1)
XYZxyz(16.3390, 26.0435, 5.3940)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9C1E #601E9C
analogous
#999C1E #5A9C1E #1E9C21
triadic
#5A9C1E #1E5A9C #9C1E5A
tetradic
#5A9C1E #1E999C #601E9C #9C211E
square
#5A9C1E #1E999C #601E9C #9C211E
split-complementary
#5A9C1E #211E9C #9C1E99
monochromatic
#1F350A #3C6914 #5A9C1E #78CF28 #97DE56

Accessibility & contrast

On white

3.38
#5A9C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5A9C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9C1E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9C1E#FFFFFF#000000##000000
##5A9C1E1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#599685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a9c1e;
/* rgb */ color: rgb(90, 156, 30);
/* oklch */ color: oklch(62.5% 0.167 134.1);
Tailwind
colors: {
  custom: {
    50: '#8fba65',
    500: '#5a9c1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9c1e;
$custom-light: #8fba65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9c1e",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 91.429,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.16684,
    "h": 134.1
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#5A9C1E
secondary
#8E54C2
accent
#3DEB98
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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