#5A9E1D#5A9E1D

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

Color values

HEX#5A9E1D
RGBrgb(90, 158, 29)
HSLhsl(92, 69%, 37%)
HSVhsv(92, 82%, 62%)
CMYKcmyk(43%, 0%, 81.6%, 38%)
CIE-LABlab(58.71, -42.18, 55.15)
CIE-LCHlch(58.71, 69.42, 127.41°)
OKLaboklab(63% -0.1185 0.1216)
OKLCHoklch(63% 0.17 134.3)
XYZxyz(16.6648, 26.7152, 5.4406)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E1D #611D9E
analogous
#9B9E1D #5A9E1D #1D9E21
triadic
#5A9E1D #1D5A9E #9E1D5A
tetradic
#5A9E1D #1D9B9E #611D9E #9E211D
square
#5A9E1D #1D9B9E #611D9E #9E211D
split-complementary
#5A9E1D #211D9E #9E1D9B
monochromatic
#1F370A #3D6A14 #5A9E1D #77D226 #97E056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9E1D#FFFFFF#000000##000000
##5A9E1D1.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)
#9B8B2C
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e1d;
/* rgb */ color: rgb(90, 158, 29);
/* oklch */ color: oklch(63.0% 0.170 134.3);
Tailwind
colors: {
  custom: {
    50: '#8fbb65',
    500: '#5a9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e1d;
$custom-light: #8fbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e1d",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 91.628,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.16976,
    "h": 134.3
  },
  "luminance": 0.26716
}

Semantic roles & 50–950 ramp

primary
#5A9E1D
secondary
#8E54C3
accent
#3CEC99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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