#5C8F23#5C8F23

#5C8F23 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.147 H 131.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C8F23
RGBrgb(92, 143, 35)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 56%)
CMYKcmyk(35.7%, 0%, 75.5%, 43.9%)
CIE-LABlab(54.07, -34.62, 48.82)
CIE-LCHlch(54.07, 59.85, 125.34°)
OKLaboklab(59.24% -0.0978 0.1092)
OKLCHoklch(59.24% 0.147 131.9)
XYZxyz(14.5393, 22.0410, 5.0781)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F23 #56238F
analogous
#8F8C23 #5C8F23 #268F23
triadic
#5C8F23 #235C8F #8F235C
tetradic
#5C8F23 #238F8C #56238F #8F2326
square
#5C8F23 #238F8C #56238F #8F2326
split-complementary
#5C8F23 #23268F #8C238F
monochromatic
#1D2D0B #3C5E17 #5C8F23 #7CC02F #9AD657

Accessibility & contrast

On white

3.88
#5C8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F23
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F23#FFFFFF#000000##000000
##5C8F231.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840D
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#5D897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f23;
/* rgb */ color: rgb(92, 143, 35);
/* oklch */ color: oklch(59.2% 0.147 131.9);
Tailwind
colors: {
  custom: {
    50: '#8fb066',
    500: '#5c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f23;
$custom-light: #8fb066;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f23",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 88.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.14661,
    "h": 131.9
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#5C8F23
secondary
#8454BA
accent
#44E48F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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