#5A9D1E#5A9D1E

#5A9D1E is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.7% C 0.168 H 134.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A9D1E
RGBrgb(90, 157, 30)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 62%)
CMYKcmyk(42.7%, 0%, 80.9%, 38.4%)
CIE-LABlab(58.40, -41.71, 54.56)
CIE-LCHlch(58.40, 68.68, 127.40°)
OKLaboklab(62.74% -0.1172 0.1205)
OKLCHoklch(62.74% 0.168 134.2)
XYZxyz(16.5075, 26.3804, 5.4502)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9D1E #611E9D
analogous
#9A9D1E #5A9D1E #1E9D22
triadic
#5A9D1E #1E5A9D #9D1E5A
tetradic
#5A9D1E #1E9A9D #611E9D #9D221E
square
#5A9D1E #1E9A9D #611E9D #9D221E
split-complementary
#5A9D1E #221E9D #9D1E9A
monochromatic
#1F360A #3D6A14 #5A9D1E #77D028 #97DF57

Accessibility & contrast

On white

3.35
#5A9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5A9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9D1E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9D1E#FFFFFF#000000##000000
##5A9D1E1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a9d1e;
/* rgb */ color: rgb(90, 157, 30);
/* oklch */ color: oklch(62.7% 0.168 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fba66',
    500: '#5a9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5a9d1e;
$custom-light: #8fba66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9d1e",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 91.654,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62743,
    "c": 0.16807,
    "h": 134.2
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#5A9D1E
secondary
#8E54C2
accent
#3DEB99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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