#5C8B23#5C8B23

#5C8B23 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.141 H 131.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B23
RGBrgb(92, 139, 35)
HSLhsl(87, 60%, 34%)
HSVhsv(87, 75%, 55%)
CMYKcmyk(33.8%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.80, -32.80, 47.57)
CIE-LCHlch(52.80, 57.78, 124.59°)
OKLaboklab(58.2% -0.0929 0.1066)
OKLCHoklch(58.2% 0.141 131.1)
XYZxyz(13.9495, 20.8614, 4.8815)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B23 #52238B
analogous
#8B8623 #5C8B23 #288B23
triadic
#5C8B23 #235C8B #8B235C
tetradic
#5C8B23 #238B86 #52238B #8B2328
square
#5C8B23 #238B86 #52238B #8B2328
split-complementary
#5C8B23 #23288B #86238B
monochromatic
#1B290A #3C5A17 #5C8B23 #7CBC2F #9AD454

Accessibility & contrast

On white

4.06
#5C8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B23
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B23#FFFFFF#000000##000000
##5C8B231.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b23;
/* rgb */ color: rgb(92, 139, 35);
/* oklch */ color: oklch(58.2% 0.141 131.1);
Tailwind
colors: {
  custom: {
    50: '#8ead65',
    500: '#5c8b23',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b23;
$custom-light: #8ead65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b23",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 87.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.14138,
    "h": 131.1
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#5C8B23
secondary
#8052B8
accent
#45E38C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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