#5C9D18#5C9D18

#5C9D18 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.8% C 0.170 H 133.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5C9D18
RGBrgb(92, 157, 24)
HSLhsl(89, 73%, 35%)
HSVhsv(89, 85%, 62%)
CMYKcmyk(41.4%, 0%, 84.7%, 38.4%)
CIE-LABlab(58.47, -41.29, 56.32)
CIE-LCHlch(58.47, 69.84, 126.24°)
OKLaboklab(62.82% -0.1165 0.1233)
OKLCHoklch(62.82% 0.17 133.4)
XYZxyz(16.6352, 26.4543, 5.0937)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9D18 #59189D
analogous
#9D9B18 #5C9D18 #1A9D18
triadic
#5C9D18 #185C9D #9D185C
tetradic
#5C9D18 #189D9B #59189D #9D181A
square
#5C9D18 #189D9B #59189D #9D181A
split-complementary
#5C9D18 #181A9D #9B189D
monochromatic
#1E3308 #3D6810 #5C9D18 #7BD220 #99E44C

Accessibility & contrast

On white

3.34
#5C9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5C9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9D18
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9D18#FFFFFF#000000##000000
##5C9D181.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#5C9685
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9d18;
/* rgb */ color: rgb(92, 157, 24);
/* oklch */ color: oklch(62.8% 0.170 133.4);
Tailwind
colors: {
  custom: {
    50: '#90ba63',
    500: '#5c9d18',
    950: '#000000',
  },
}
SCSS
$custom: #5c9d18;
$custom-light: #90ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9d18",
  "rgb": {
    "r": 92,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 89.323,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62818,
    "c": 0.16962,
    "h": 133.4
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#5C9D18
secondary
#874BC5
accent
#38F092
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5C9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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