#5A9F1D#5A9F1D

#5A9F1D is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.171 H 134.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5A9F1D
RGBrgb(90, 159, 29)
HSLhsl(92, 69%, 37%)
HSVhsv(92, 82%, 62%)
CMYKcmyk(43.4%, 0%, 81.8%, 37.6%)
CIE-LABlab(59.03, -42.59, 55.44)
CIE-LCHlch(59.03, 69.91, 127.53°)
OKLaboklab(63.26% -0.1196 0.1222)
OKLCHoklch(63.26% 0.171 134.4)
XYZxyz(16.8360, 27.0577, 5.4977)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F1D #621D9F
analogous
#9B9F1D #5A9F1D #1D9F21
triadic
#5A9F1D #1D5A9F #9F1D5A
tetradic
#5A9F1D #1D9B9F #621D9F #9F211D
square
#5A9F1D #1D9B9F #621D9F #9F211D
split-complementary
#5A9F1D #211D9F #9F1D9B
monochromatic
#1F370A #3D6B14 #5A9F1D #77D326 #97E056

Accessibility & contrast

On white

3.28
#5A9F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5A9F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F1D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F1D#FFFFFF#000000##000000
##5A9F1D1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#599987
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f1d;
/* rgb */ color: rgb(90, 159, 29);
/* oklch */ color: oklch(63.3% 0.171 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbc65',
    500: '#5a9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f1d;
$custom-light: #8fbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f1d",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 91.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6326,
    "c": 0.17097,
    "h": 134.4
  },
  "luminance": 0.27059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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