#5C9923#5C9923

#5C9923 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.8% C 0.159 H 133.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C9923
RGBrgb(92, 153, 35)
HSLhsl(91, 63%, 37%)
HSVhsv(91, 77%, 60%)
CMYKcmyk(39.9%, 0%, 77.1%, 40%)
CIE-LABlab(57.25, -39.03, 51.91)
CIE-LCHlch(57.25, 64.95, 126.94°)
OKLaboklab(61.84% -0.1098 0.1157)
OKLCHoklch(61.84% 0.159 133.5)
XYZxyz(16.1080, 25.1783, 5.6010)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9923 #602399
analogous
#979923 #5C9923 #239925
triadic
#5C9923 #235C99 #99235C
tetradic
#5C9923 #239799 #602399 #992523
square
#5C9923 #239799 #602399 #992523
split-complementary
#5C9923 #252399 #992397
monochromatic
#20350C #3E6718 #5C9923 #7ACB2E #99DA5D

Accessibility & contrast

On white

3.48
#5C9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5C9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9923
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9923#FFFFFF#000000##000000
##5C99231.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D06
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#5C9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9923;
/* rgb */ color: rgb(92, 153, 35);
/* oklch */ color: oklch(61.8% 0.159 133.5);
Tailwind
colors: {
  custom: {
    50: '#90b767',
    500: '#5c9923',
    950: '#000000',
  },
}
SCSS
$custom: #5c9923;
$custom-light: #90b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9923",
  "rgb": {
    "r": 92,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 91.017,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.15946,
    "h": 133.5
  },
  "luminance": 0.25179
}

Semantic roles & 50–950 ramp

primary
#5C9923
secondary
#8E59BE
accent
#42E697
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9923

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

Preview Lab → · Contrast checker → · Palette generator →

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