#5A901E#5A901E

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

Color values

HEX#5A901E
RGBrgb(90, 144, 30)
HSLhsl(88, 66%, 34%)
HSVhsv(88, 79%, 56%)
CMYKcmyk(37.5%, 0%, 79.2%, 43.5%)
CIE-LABlab(54.25, -36.12, 50.69)
CIE-LCHlch(54.25, 62.24, 125.47°)
OKLaboklab(59.35% -0.1021 0.1124)
OKLCHoklch(59.35% 0.152 132.3)
XYZxyz(14.4239, 22.2133, 4.7557)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A901E #541E90
analogous
#908D1E #5A901E #21901E
triadic
#5A901E #1E5A90 #901E5A
tetradic
#5A901E #1E908D #541E90 #901E21
square
#5A901E #1E908D #541E90 #901E21
split-complementary
#5A901E #1E2190 #8D1E90
monochromatic
#1B2B09 #3A5D13 #5A901E #7AC329 #98DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A901E#FFFFFF#000000##000000
##5A901E1.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: #5a901e;
/* rgb */ color: rgb(90, 144, 30);
/* oklch */ color: oklch(59.4% 0.152 132.3);
Tailwind
colors: {
  custom: {
    50: '#8eb164',
    500: '#5a901e',
    950: '#000000',
  },
}
SCSS
$custom: #5a901e;
$custom-light: #8eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5a901e",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 88.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.15183,
    "h": 132.3
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#5A901E
secondary
#824DBD
accent
#3FE88F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A901E

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

Preview Lab → · Contrast checker → · Palette generator →

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