#5A901D#5A901D

#5A901D is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.3% C 0.152 H 132.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5A901D
RGBrgb(90, 144, 29)
HSLhsl(88, 66%, 34%)
HSVhsv(88, 80%, 56%)
CMYKcmyk(37.5%, 0%, 79.9%, 43.5%)
CIE-LABlab(54.25, -36.17, 51.01)
CIE-LCHlch(54.25, 62.53, 125.34°)
OKLaboklab(59.35% -0.1023 0.1129)
OKLCHoklch(59.35% 0.152 132.2)
XYZxyz(14.4113, 22.2083, 4.6895)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A901D #531D90
analogous
#908D1D #5A901D #21901D
triadic
#5A901D #1D5A90 #901D5A
tetradic
#5A901D #1D908D #531D90 #901D21
square
#5A901D #1D908D #531D90 #901D21
split-complementary
#5A901D #1D2190 #8D1D90
monochromatic
#1A2A08 #3A5D13 #5A901D #7AC327 #98DB4C

Accessibility & contrast

On white

3.86
#5A901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5A901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A901D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A901D#FFFFFF#000000##000000
##5A901D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#5B8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a901d;
/* rgb */ color: rgb(90, 144, 29);
/* oklch */ color: oklch(59.3% 0.152 132.2);
Tailwind
colors: {
  custom: {
    50: '#8eb163',
    500: '#5a901d',
    950: '#000000',
  },
}
SCSS
$custom: #5a901d;
$custom-light: #8eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5a901d",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 88.174,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.15236,
    "h": 132.2
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#5A901D
secondary
#814BBD
accent
#3EE98F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A901D

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

Preview Lab → · Contrast checker → · Palette generator →

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