#5C901C#5C901C

#5C901C 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#5C901C
RGBrgb(92, 144, 28)
HSLhsl(87, 67%, 34%)
HSVhsv(87, 81%, 56%)
CMYKcmyk(36.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(54.35, -35.47, 51.46)
CIE-LCHlch(54.35, 62.50, 124.58°)
OKLaboklab(59.46% -0.1006 0.1136)
OKLCHoklch(59.46% 0.152 131.5)
XYZxyz(14.5964, 22.3051, 4.6346)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901C #501C90
analogous
#908A1C #5C901C #22901C
triadic
#5C901C #1C5C90 #901C5C
tetradic
#5C901C #1C908A #501C90 #901C22
square
#5C901C #1C908A #501C90 #901C22
split-complementary
#5C901C #1C2290 #8A1C90
monochromatic
#1B2A08 #3B5D12 #5C901C #7DC326 #9BDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C901C#FFFFFF#000000##000000
##5C901C1.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)
#978500
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#5E8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901c;
/* rgb */ color: rgb(92, 144, 28);
/* oklch */ color: oklch(59.5% 0.152 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb163',
    500: '#5c901c',
    950: '#000000',
  },
}
SCSS
$custom: #5c901c;
$custom-light: #8fb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901c",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 86.897,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.15178,
    "h": 131.5
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#5C901C
secondary
#7E4ABE
accent
#3DEA8B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901C

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

Preview Lab → · Contrast checker → · Palette generator →

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