#5C8D16#5C8D16

#5C8D16 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.6% C 0.151 H 130.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C8D16
RGBrgb(92, 141, 22)
HSLhsl(85, 73%, 32%)
HSVhsv(85, 84%, 55%)
CMYKcmyk(34.8%, 0%, 84.4%, 44.7%)
CIE-LABlab(53.37, -34.41, 52.32)
CIE-LCHlch(53.37, 62.62, 123.33°)
OKLaboklab(58.64% -0.0982 0.1145)
OKLCHoklch(58.64% 0.151 130.6)
XYZxyz(14.0832, 21.3825, 4.1441)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D16 #47168D
analogous
#8D8316 #5C8D16 #218D16
triadic
#5C8D16 #165C8D #8D165C
tetradic
#5C8D16 #168D83 #47168D #8D1621
square
#5C8D16 #168D83 #47168D #8D1621
split-complementary
#5C8D16 #16218D #83168D
monochromatic
#172305 #39580E #5C8D16 #7FC21E #9DE13D

Accessibility & contrast

On white

3.98
#5C8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5C8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D16
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D16#FFFFFF#000000##000000
##5C8D161.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8d16;
/* rgb */ color: rgb(92, 141, 22);
/* oklch */ color: oklch(58.6% 0.151 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fae60',
    500: '#5c8d16',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d16;
$custom-light: #8fae60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d16",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 84.706,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58644,
    "c": 0.1508,
    "h": 130.6
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#5C8D16
secondary
#743EC1
accent
#38F084
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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