#5C8D23#5C8D23

#5C8D23 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.144 H 131.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C8D23
RGBrgb(92, 141, 35)
HSLhsl(88, 60%, 35%)
HSVhsv(88, 75%, 55%)
CMYKcmyk(34.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(53.43, -33.72, 48.20)
CIE-LCHlch(53.43, 58.82, 124.98°)
OKLaboklab(58.72% -0.0954 0.1079)
OKLCHoklch(58.72% 0.144 131.5)
XYZxyz(14.2417, 21.4459, 4.9789)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D23 #54238D
analogous
#8D8923 #5C8D23 #278D23
triadic
#5C8D23 #235C8D #8D235C
tetradic
#5C8D23 #238D89 #54238D #8D2327
square
#5C8D23 #238D89 #54238D #8D2327
split-complementary
#5C8D23 #23278D #89238D
monochromatic
#1C2B0B #3C5C17 #5C8D23 #7CBE2F #9AD555

Accessibility & contrast

On white

3.97
#5C8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D23
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D23#FFFFFF#000000##000000
##5C8D231.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#5E8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d23;
/* rgb */ color: rgb(92, 141, 35);
/* oklch */ color: oklch(58.7% 0.144 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eae66',
    500: '#5c8d23',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d23;
$custom-light: #8eae66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d23",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 87.736,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.144,
    "h": 131.5
  },
  "luminance": 0.21446
}

Semantic roles & 50–950 ramp

primary
#5C8D23
secondary
#8253B9
accent
#44E38E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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