#5C8E16#5C8E16

#5C8E16 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.152 H 130.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E16
RGBrgb(92, 142, 22)
HSLhsl(85, 73%, 32%)
HSVhsv(85, 85%, 56%)
CMYKcmyk(35.2%, 0%, 84.5%, 44.3%)
CIE-LABlab(53.68, -34.86, 52.60)
CIE-LCHlch(53.68, 63.11, 123.53°)
OKLaboklab(58.9% -0.0994 0.1151)
OKLCHoklch(58.9% 0.152 130.8)
XYZxyz(14.2314, 21.6787, 4.1935)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E16 #48168E
analogous
#8E8416 #5C8E16 #208E16
triadic
#5C8E16 #165C8E #8E165C
tetradic
#5C8E16 #168E84 #48168E #8E1620
square
#5C8E16 #168E84 #48168E #8E1620
split-complementary
#5C8E16 #16208E #84168E
monochromatic
#172406 #3A590E #5C8E16 #7EC31E #9DE13D

Accessibility & contrast

On white

3.94
#5C8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E16
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E16#FFFFFF#000000##000000
##5C8E161.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e16;
/* rgb */ color: rgb(92, 142, 22);
/* oklch */ color: oklch(58.9% 0.152 130.8);
Tailwind
colors: {
  custom: {
    50: '#8faf60',
    500: '#5c8e16',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e16;
$custom-light: #8faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e16",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 85,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.15205,
    "h": 130.8
  },
  "luminance": 0.21679
}

Semantic roles & 50–950 ramp

primary
#5C8E16
secondary
#753FC1
accent
#38F085
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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