#5C901B#5C901B

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

Color values

HEX#5C901B
RGBrgb(92, 144, 27)
HSLhsl(87, 68%, 34%)
HSVhsv(87, 81%, 56%)
CMYKcmyk(36.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(54.34, -35.52, 51.76)
CIE-LCHlch(54.34, 62.78, 124.46°)
OKLaboklab(59.45% -0.1008 0.1141)
OKLCHoklch(59.45% 0.152 131.5)
XYZxyz(14.5846, 22.3004, 4.5727)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901B #4F1B90
analogous
#90891B #5C901B #21901B
triadic
#5C901B #1B5C90 #901B5C
tetradic
#5C901B #1B9089 #4F1B90 #901B21
square
#5C901B #1B9089 #4F1B90 #901B21
split-complementary
#5C901B #1B2190 #891B90
monochromatic
#1A2908 #3B5C11 #5C901B #7DC425 #9BDD49

Accessibility & contrast

On white

3.85
#5C901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C901B#FFFFFF#000000##000000
##5C901B1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#5E8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901b;
/* rgb */ color: rgb(92, 144, 27);
/* oklch */ color: oklch(59.5% 0.152 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb162',
    500: '#5c901b',
    950: '#000000',
  },
}
SCSS
$custom: #5c901b;
$custom-light: #8fb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901b",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 86.667,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.15228,
    "h": 131.5
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#5C901B
secondary
#7D48BF
accent
#3DEB8A
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901B

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

Preview Lab → · Contrast checker → · Palette generator →

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