#5C901D#5C901D

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

Color values

HEX#5C901D
RGBrgb(92, 144, 29)
HSLhsl(87, 66%, 34%)
HSVhsv(87, 80%, 56%)
CMYKcmyk(36.1%, 0%, 79.9%, 43.5%)
CIE-LABlab(54.35, -35.42, 51.15)
CIE-LCHlch(54.35, 62.22, 124.70°)
OKLaboklab(59.46% -0.1004 0.1131)
OKLCHoklch(59.46% 0.151 131.6)
XYZxyz(14.6085, 22.3100, 4.6987)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901D #511D90
analogous
#908B1D #5C901D #23901D
triadic
#5C901D #1D5C90 #901D5C
tetradic
#5C901D #1D908B #511D90 #901D23
square
#5C901D #1D908B #511D90 #901D23
split-complementary
#5C901D #1D2390 #8B1D90
monochromatic
#1B2A08 #3B5D13 #5C901D #7DC327 #9BDB4C

Accessibility & contrast

On white

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

On black

5.46
#5C901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C901D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C901D#FFFFFF#000000##000000
##5C901D1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#5E8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901d;
/* rgb */ color: rgb(92, 144, 29);
/* oklch */ color: oklch(59.5% 0.151 131.6);
Tailwind
colors: {
  custom: {
    50: '#8fb163',
    500: '#5c901d',
    950: '#000000',
  },
}
SCSS
$custom: #5c901d;
$custom-light: #8fb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901d",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 87.13,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.15127,
    "h": 131.6
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#5C901D
secondary
#7F4BBD
accent
#3EE98C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901D

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

Preview Lab → · Contrast checker → · Palette generator →

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