#5C8723#5C8723

#5C8723 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.136 H 130.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C8723
RGBrgb(92, 135, 35)
HSLhsl(86, 59%, 33%)
HSVhsv(86, 74%, 53%)
CMYKcmyk(31.9%, 0%, 74.1%, 47.1%)
CIE-LABlab(51.52, -30.94, 46.30)
CIE-LCHlch(51.52, 55.69, 123.75°)
OKLaboklab(57.17% -0.0878 0.1039)
OKLCHoklch(57.17% 0.136 130.2)
XYZxyz(13.3809, 19.7242, 4.6919)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8723 #4E2387
analogous
#878023 #5C8723 #2A8723
triadic
#5C8723 #235C87 #87235C
tetradic
#5C8723 #238780 #4E2387 #87232A
square
#5C8723 #238780 #4E2387 #87232A
split-complementary
#5C8723 #232A87 #802387
monochromatic
#1A260A #3B5616 #5C8723 #7DB830 #9BD252

Accessibility & contrast

On white

4.25
#5C8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5C8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8723
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8723#FFFFFF#000000##000000
##5C87231.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D11
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#5E8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8723;
/* rgb */ color: rgb(92, 135, 35);
/* oklch */ color: oklch(57.2% 0.136 130.2);
Tailwind
colors: {
  custom: {
    50: '#8eaa65',
    500: '#5c8723',
    950: '#000000',
  },
}
SCSS
$custom: #5c8723;
$custom-light: #8eaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8723",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 85.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.13608,
    "h": 130.2
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#5C8723
secondary
#7C50B6
accent
#46E289
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8723

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

Preview Lab → · Contrast checker → · Palette generator →

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