#5C8323#5C8323

#5C8323 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.131 H 129.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5C8323
RGBrgb(92, 131, 35)
HSLhsl(84, 58%, 33%)
HSVhsv(84, 73%, 51%)
CMYKcmyk(29.8%, 0%, 73.3%, 48.6%)
CIE-LABlab(50.25, -29.05, 45.03)
CIE-LCHlch(50.25, 53.59, 122.83°)
OKLaboklab(56.13% -0.0827 0.1013)
OKLCHoklch(56.13% 0.131 129.2)
XYZxyz(12.8333, 18.6289, 4.5094)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8323 #4A2383
analogous
#837A23 #5C8323 #2C8323
triadic
#5C8323 #235C83 #83235C
tetradic
#5C8323 #23837A #4A2383 #83232C
square
#5C8323 #23837A #4A2383 #83232C
split-complementary
#5C8323 #232C83 #7A2383
monochromatic
#182209 #3A5316 #5C8323 #7EB330 #9CD050

Accessibility & contrast

On white

4.44
#5C8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5C8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8323
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8323#FFFFFF#000000##000000
##5C83231.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#5F7D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8323;
/* rgb */ color: rgb(92, 131, 35);
/* oklch */ color: oklch(56.1% 0.131 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ea764',
    500: '#5c8323',
    950: '#000000',
  },
}
SCSS
$custom: #5c8323;
$custom-light: #8ea764;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8323",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 84.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.13073,
    "h": 129.2
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#5C8323
secondary
#774EB4
accent
#47E185
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8323

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

Preview Lab → · Contrast checker → · Palette generator →

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