#5C8E23#5C8E23

#5C8E23 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.145 H 131.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5C8E23
RGBrgb(92, 142, 35)
HSLhsl(88, 60%, 35%)
HSVhsv(88, 75%, 56%)
CMYKcmyk(35.2%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.75, -34.17, 48.51)
CIE-LCHlch(53.75, 59.33, 125.16°)
OKLaboklab(58.98% -0.0966 0.1086)
OKLCHoklch(58.98% 0.145 131.7)
XYZxyz(14.3899, 21.7421, 5.0282)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E23 #55238E
analogous
#8E8A23 #5C8E23 #278E23
triadic
#5C8E23 #235C8E #8E235C
tetradic
#5C8E23 #238E8A #55238E #8E2327
square
#5C8E23 #238E8A #55238E #8E2327
split-complementary
#5C8E23 #23278E #8A238E
monochromatic
#1C2C0B #3C5D17 #5C8E23 #7CBF2F #9AD556

Accessibility & contrast

On white

3.93
#5C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5C8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E23
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E23#FFFFFF#000000##000000
##5C8E231.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#5D8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e23;
/* rgb */ color: rgb(92, 142, 35);
/* oklch */ color: oklch(59.0% 0.145 131.7);
Tailwind
colors: {
  custom: {
    50: '#8eaf66',
    500: '#5c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e23;
$custom-light: #8eaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e23",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 88.037,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.14532,
    "h": 131.7
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#5C8E23
secondary
#8353B9
accent
#44E48F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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