#5C901A#5C901A

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

Color values

HEX#5C901A
RGBrgb(92, 144, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(36.1%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.34, -35.57, 52.06)
CIE-LCHlch(54.34, 63.05, 124.34°)
OKLaboklab(59.45% -0.101 0.1146)
OKLCHoklch(59.45% 0.153 131.4)
XYZxyz(14.5732, 22.2958, 4.5128)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901A #4E1A90
analogous
#90891A #5C901A #21901A
triadic
#5C901A #1A5C90 #901A5C
tetradic
#5C901A #1A9089 #4E1A90 #901A21
square
#5C901A #1A9089 #4E1A90 #901A21
split-complementary
#5C901A #1A2190 #891A90
monochromatic
#1A2807 #3B5C11 #5C901A #7DC423 #9BDE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C901A#FFFFFF#000000##000000
##5C901A1.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)
#908127
Tritanopia (blue-blind)
#5E8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901a;
/* rgb */ color: rgb(92, 144, 26);
/* oklch */ color: oklch(59.4% 0.153 131.4);
Tailwind
colors: {
  custom: {
    50: '#8fb162',
    500: '#5c901a',
    950: '#000000',
  },
}
SCSS
$custom: #5c901a;
$custom-light: #8fb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901a",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 86.441,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.15275,
    "h": 131.4
  },
  "luminance": 0.22296
}

Semantic roles & 50–950 ramp

primary
#5C901A
secondary
#7C47BF
accent
#3CEC89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901A

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

Preview Lab → · Contrast checker → · Palette generator →

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