#5D901A#5D901A

#5D901A is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.152 H 131.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D901A
RGBrgb(93, 144, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35.4%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.39, -35.19, 52.13)
CIE-LCHlch(54.39, 62.90, 124.02°)
OKLaboklab(59.5% -0.1001 0.1147)
OKLCHoklch(59.5% 0.152 131.1)
XYZxyz(14.6738, 22.3477, 4.5175)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D901A #4D1A90
analogous
#90881A #5D901A #22901A
triadic
#5D901A #1A5D90 #901A5D
tetradic
#5D901A #1A9088 #4D1A90 #901A22
square
#5D901A #1A9088 #4D1A90 #901A22
split-complementary
#5D901A #1A2290 #881A90
monochromatic
#1A2807 #3C5C11 #5D901A #7EC423 #9CDE47

Accessibility & contrast

On white

3.84
#5D901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D901A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D901A#FFFFFF#000000##000000
##5D901A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#5F8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d901a;
/* rgb */ color: rgb(93, 144, 26);
/* oklch */ color: oklch(59.5% 0.152 131.1);
Tailwind
colors: {
  custom: {
    50: '#90b162',
    500: '#5d901a',
    950: '#000000',
  },
}
SCSS
$custom: #5d901a;
$custom-light: #90b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5d901a",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 85.932,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.15222,
    "h": 131.1
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#5D901A
secondary
#7B47BF
accent
#3CEC88
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D901A

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

Preview Lab → · Contrast checker → · Palette generator →

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