#5C8417#5C8417

#5C8417 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.139 H 128.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C8417
RGBrgb(92, 132, 23)
HSLhsl(82, 70%, 30%)
HSVhsv(82, 83%, 52%)
CMYKcmyk(30.3%, 0%, 82.6%, 48.2%)
CIE-LABlab(50.50, -30.21, 49.46)
CIE-LCHlch(50.50, 57.96, 121.42°)
OKLaboklab(56.31% -0.0868 0.1086)
OKLCHoklch(56.31% 0.139 128.6)
XYZxyz(12.8196, 18.8394, 3.7714)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8417 #3F1784
analogous
#847517 #5C8417 #268417
triadic
#5C8417 #175C84 #84175C
tetradic
#5C8417 #178475 #3F1784 #841726
square
#5C8417 #178475 #3F1784 #841726
split-complementary
#5C8417 #172684 #751784
monochromatic
#131C05 #38500E #5C8417 #80B820 #A0DC39

Accessibility & contrast

On white

4.40
#5C8417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5C8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8417
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8417#FFFFFF#000000##000000
##5C84171.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#5F7E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8417;
/* rgb */ color: rgb(92, 132, 23);
/* oklch */ color: oklch(56.3% 0.139 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea85f',
    500: '#5c8417',
    950: '#000000',
  },
}
SCSS
$custom: #5c8417;
$custom-light: #8ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8417",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 82.018,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.139,
    "h": 128.6
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#5C8417
secondary
#6B3FB8
accent
#3BED7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8417

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

Preview Lab → · Contrast checker → · Palette generator →

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