#5C9617#5C9617

#5C9617 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.162 H 132.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5C9617
RGBrgb(92, 150, 23)
HSLhsl(87, 73%, 34%)
HSVhsv(87, 85%, 59%)
CMYKcmyk(38.7%, 0%, 84.7%, 41.2%)
CIE-LABlab(56.24, -38.34, 54.61)
CIE-LCHlch(56.24, 66.72, 125.08°)
OKLaboklab(60.99% -0.1087 0.1195)
OKLCHoklch(60.99% 0.162 132.3)
XYZxyz(15.4745, 24.1492, 4.6564)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9617 #511796
analogous
#969117 #5C9617 #1C9617
triadic
#5C9617 #175C96 #96175C
tetradic
#5C9617 #179691 #511796 #96171C
square
#5C9617 #179691 #511796 #96171C
split-complementary
#5C9617 #171C96 #911796
monochromatic
#1B2C07 #3B610F #5C9617 #7DCB1F #9BE245

Accessibility & contrast

On white

3.60
#5C9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5C9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9617
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9617#FFFFFF#000000##000000
##5C96171.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#5D8F7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5c9617;
/* rgb */ color: rgb(92, 150, 23);
/* oklch */ color: oklch(61.0% 0.162 132.3);
Tailwind
colors: {
  custom: {
    50: '#90b562',
    500: '#5c9617',
    950: '#000000',
  },
}
SCSS
$custom: #5c9617;
$custom-light: #90b562;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9617",
  "rgb": {
    "r": 92,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 87.402,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.16151,
    "h": 132.3
  },
  "luminance": 0.2415
}

Semantic roles & 50–950 ramp

primary
#5C9617
secondary
#7F45C3
accent
#38F08C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9617

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

Preview Lab → · Contrast checker → · Palette generator →

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