#5C901F#5C901F

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

Color values

HEX#5C901F
RGBrgb(92, 144, 31)
HSLhsl(88, 65%, 34%)
HSVhsv(88, 78%, 56%)
CMYKcmyk(36.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(54.37, -35.31, 50.50)
CIE-LCHlch(54.37, 61.63, 124.96°)
OKLaboklab(59.47% -0.1 0.1121)
OKLCHoklch(59.47% 0.15 131.7)
XYZxyz(14.6341, 22.3202, 4.8332)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C901F #531F90
analogous
#908C1F #5C901F #23901F
triadic
#5C901F #1F5C90 #901F5C
tetradic
#5C901F #1F908C #531F90 #901F23
square
#5C901F #1F908C #531F90 #901F23
split-complementary
#5C901F #1F2390 #8C1F90
monochromatic
#1C2B09 #3C5E14 #5C901F #7CC22A #9AD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C901F#FFFFFF#000000##000000
##5C901F1.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)
#968502
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#5D8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c901f;
/* rgb */ color: rgb(92, 144, 31);
/* oklch */ color: oklch(59.5% 0.150 131.7);
Tailwind
colors: {
  custom: {
    50: '#8fb164',
    500: '#5c901f',
    950: '#000000',
  },
}
SCSS
$custom: #5c901f;
$custom-light: #8fb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5c901f",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 87.611,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.15021,
    "h": 131.7
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#5C901F
secondary
#814EBC
accent
#40E88D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C901F

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

Preview Lab → · Contrast checker → · Palette generator →

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