#5C9518#5C9518

#5C9518 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.160 H 132.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5C9518
RGBrgb(92, 149, 24)
HSLhsl(87, 72%, 34%)
HSVhsv(87, 84%, 58%)
CMYKcmyk(38.3%, 0%, 83.9%, 41.6%)
CIE-LABlab(55.92, -37.87, 54.06)
CIE-LCHlch(55.92, 66.00, 125.01°)
OKLaboklab(60.74% -0.1073 0.1185)
OKLCHoklch(60.74% 0.16 132.2)
XYZxyz(15.3258, 23.8355, 4.6572)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9518 #511895
analogous
#959018 #5C9518 #1E9518
triadic
#5C9518 #185C95 #95185C
tetradic
#5C9518 #189590 #511895 #95181E
square
#5C9518 #189590 #511895 #95181E
split-complementary
#5C9518 #181E95 #901895
monochromatic
#1B2C07 #3B6010 #5C9518 #7DCA20 #9BE146

Accessibility & contrast

On white

3.64
#5C9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5C9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9518
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9518#FFFFFF#000000##000000
##5C95181.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#5D8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c9518;
/* rgb */ color: rgb(92, 149, 24);
/* oklch */ color: oklch(60.7% 0.160 132.2);
Tailwind
colors: {
  custom: {
    50: '#90b462',
    500: '#5c9518',
    950: '#000000',
  },
}
SCSS
$custom: #5c9518;
$custom-light: #90b462;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9518",
  "rgb": {
    "r": 92,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 87.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.15987,
    "h": 132.2
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#5C9518
secondary
#7F46C2
accent
#39EF8C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9518

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

Preview Lab → · Contrast checker → · Palette generator →

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