#5C901E#5C901E

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

Color values

HEX#5C901E
RGBrgb(92, 144, 30)
HSLhsl(87, 66%, 34%)
HSVhsv(87, 79%, 56%)
CMYKcmyk(36.1%, 0%, 79.2%, 43.5%)
CIE-LABlab(54.36, -35.37, 50.83)
CIE-LCHlch(54.36, 61.92, 124.83°)
OKLaboklab(59.47% -0.1002 0.1126)
OKLCHoklch(59.47% 0.151 131.7)
XYZxyz(14.6211, 22.3150, 4.7649)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901E #521E90
analogous
#908B1E #5C901E #23901E
triadic
#5C901E #1E5C90 #901E5C
tetradic
#5C901E #1E908B #521E90 #901E23
square
#5C901E #1E908B #521E90 #901E23
split-complementary
#5C901E #1E2390 #8B1E90
monochromatic
#1B2B09 #3C5D13 #5C901E #7CC329 #9ADA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C901E#FFFFFF#000000##000000
##5C901E1.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)
#968500
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901e;
/* rgb */ color: rgb(92, 144, 30);
/* oklch */ color: oklch(59.5% 0.151 131.7);
Tailwind
colors: {
  custom: {
    50: '#8fb164',
    500: '#5c901e',
    950: '#000000',
  },
}
SCSS
$custom: #5c901e;
$custom-light: #8fb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901e",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 87.368,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.15076,
    "h": 131.7
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#5C901E
secondary
#804DBD
accent
#3FE88C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901E

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

Preview Lab → · Contrast checker → · Palette generator →

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