#5D901C#5D901C

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

Color values

HEX#5D901C
RGBrgb(93, 144, 28)
HSLhsl(86, 67%, 34%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(35.4%, 0%, 80.6%, 43.5%)
CIE-LABlab(54.40, -35.09, 51.53)
CIE-LCHlch(54.40, 62.35, 124.26°)
OKLaboklab(59.51% -0.0997 0.1137)
OKLCHoklch(59.51% 0.151 131.2)
XYZxyz(14.6969, 22.3569, 4.6393)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D901C #4F1C90
analogous
#90891C #5D901C #23901C
triadic
#5D901C #1C5D90 #901C5D
tetradic
#5D901C #1C9089 #4F1C90 #901C23
square
#5D901C #1C9089 #4F1C90 #901C23
split-complementary
#5D901C #1C2390 #891C90
monochromatic
#1B2A08 #3C5D12 #5D901C #7EC326 #9CDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5d901c;
/* rgb */ color: rgb(93, 144, 28);
/* oklch */ color: oklch(59.5% 0.151 131.2);
Tailwind
colors: {
  custom: {
    50: '#90b163',
    500: '#5d901c',
    950: '#000000',
  },
}
SCSS
$custom: #5d901c;
$custom-light: #90b163;
$custom-dark: #000000;
JSON
{
  "hex": "#5d901c",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 86.379,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.15124,
    "h": 131.2
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#5D901C
secondary
#7D4ABE
accent
#3DEA89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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