#5C9017#5C9017

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

Color values

HEX#5C9017
RGBrgb(92, 144, 23)
HSLhsl(86, 72%, 33%)
HSVhsv(86, 84%, 56%)
CMYKcmyk(36.1%, 0%, 84%, 43.5%)
CIE-LABlab(54.33, -35.71, 52.91)
CIE-LCHlch(54.33, 63.83, 124.02°)
OKLaboklab(59.43% -0.1016 0.1159)
OKLCHoklch(59.43% 0.154 131.2)
XYZxyz(14.5414, 22.2831, 4.3453)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9017 #4B1790
analogous
#908717 #5C9017 #209017
triadic
#5C9017 #175C90 #90175C
tetradic
#5C9017 #179087 #4B1790 #901720
square
#5C9017 #179087 #4B1790 #901720
split-complementary
#5C9017 #172090 #871790
monochromatic
#192606 #3A5B0F #5C9017 #7EC51F #9CE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C9017#FFFFFF#000000##000000
##5C90171.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)
#908126
Tritanopia (blue-blind)
#5E8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c9017;
/* rgb */ color: rgb(92, 144, 23);
/* oklch */ color: oklch(59.4% 0.154 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fb161',
    500: '#5c9017',
    950: '#000000',
  },
}
SCSS
$custom: #5c9017;
$custom-light: #8fb161;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9017",
  "rgb": {
    "r": 92,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 85.785,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5943,
    "c": 0.15411,
    "h": 131.2
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#5C9017
secondary
#7842C1
accent
#39EF87
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C9017

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

Preview Lab → · Contrast checker → · Palette generator →

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