#5D901B#5D901B

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

Color values

HEX#5D901B
RGBrgb(93, 144, 27)
HSLhsl(86, 68%, 34%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(35.4%, 0%, 81.3%, 43.5%)
CIE-LABlab(54.40, -35.14, 51.83)
CIE-LCHlch(54.40, 62.63, 124.14°)
OKLaboklab(59.51% -0.0999 0.1142)
OKLCHoklch(59.51% 0.152 131.2)
XYZxyz(14.6852, 22.3522, 4.5774)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D901B #4E1B90
analogous
#90881B #5D901B #22901B
triadic
#5D901B #1B5D90 #901B5D
tetradic
#5D901B #1B9088 #4E1B90 #901B22
square
#5D901B #1B9088 #4E1B90 #901B22
split-complementary
#5D901B #1B2290 #881B90
monochromatic
#1A2908 #3C5C11 #5D901B #7EC425 #9CDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D901B#FFFFFF#000000##000000
##5D901B1.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)
#908128
Tritanopia (blue-blind)
#5F8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d901b;
/* rgb */ color: rgb(93, 144, 27);
/* oklch */ color: oklch(59.5% 0.152 131.2);
Tailwind
colors: {
  custom: {
    50: '#90b162',
    500: '#5d901b',
    950: '#000000',
  },
}
SCSS
$custom: #5d901b;
$custom-light: #90b162;
$custom-dark: #000000;
JSON
{
  "hex": "#5d901b",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 86.154,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59509,
    "c": 0.15174,
    "h": 131.2
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#5D901B
secondary
#7C48BF
accent
#3DEB89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D901B

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

Preview Lab → · Contrast checker → · Palette generator →

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