#5C9D23#5C9D23

#5C9D23 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.9% C 0.164 H 134.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5C9D23
RGBrgb(92, 157, 35)
HSLhsl(92, 64%, 38%)
HSVhsv(92, 78%, 62%)
CMYKcmyk(41.4%, 0%, 77.7%, 38.4%)
CIE-LABlab(58.52, -40.74, 53.13)
CIE-LCHlch(58.52, 66.95, 127.48°)
OKLaboklab(62.88% -0.1144 0.1182)
OKLCHoklch(62.88% 0.164 134.1)
XYZxyz(16.7737, 26.5097, 5.8228)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9D23 #64239D
analogous
#999D23 #5C9D23 #239D27
triadic
#5C9D23 #235C9D #9D235C
tetradic
#5C9D23 #23999D #64239D #9D2723
square
#5C9D23 #23999D #64239D #9D2723
split-complementary
#5C9D23 #27239D #9D2399
monochromatic
#21390D #3F6B18 #5C9D23 #79CF2E #99DB5F

Accessibility & contrast

On white

3.33
#5C9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5C9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9D23
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9D23#FFFFFF#000000##000000
##5C9D231.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#5B9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5c9d23;
/* rgb */ color: rgb(92, 157, 35);
/* oklch */ color: oklch(62.9% 0.164 134.1);
Tailwind
colors: {
  custom: {
    50: '#90ba68',
    500: '#5c9d23',
    950: '#000000',
  },
}
SCSS
$custom: #5c9d23;
$custom-light: #90ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9d23",
  "rgb": {
    "r": 92,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 91.967,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.16449,
    "h": 134.1
  },
  "luminance": 0.26511
}

Semantic roles & 50–950 ramp

primary
#5C9D23
secondary
#915CC0
accent
#41E799
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5C9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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