#5C8E1D#5C8E1D

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

Color values

HEX#5C8E1D
RGBrgb(92, 142, 29)
HSLhsl(87, 66%, 34%)
HSVhsv(87, 80%, 56%)
CMYKcmyk(35.2%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.72, -34.52, 50.55)
CIE-LCHlch(53.72, 61.22, 124.33°)
OKLaboklab(58.94% -0.098 0.1119)
OKLCHoklch(58.94% 0.149 131.2)
XYZxyz(14.3083, 21.7095, 4.5986)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E1D #4F1D8E
analogous
#8E871D #5C8E1D #238E1D
triadic
#5C8E1D #1D5C8E #8E1D5C
tetradic
#5C8E1D #1D8E87 #4F1D8E #8E1D23
square
#5C8E1D #1D8E87 #4F1D8E #8E1D23
split-complementary
#5C8E1D #1D238E #871D8E
monochromatic
#1A2808 #3B5B13 #5C8E1D #7DC127 #9BDA4B

Accessibility & contrast

On white

3.93
#5C8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8E1D#FFFFFF#000000##000000
##5C8E1D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8e1d;
/* rgb */ color: rgb(92, 142, 29);
/* oklch */ color: oklch(58.9% 0.149 131.2);
Tailwind
colors: {
  custom: {
    50: '#8faf63',
    500: '#5c8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e1d;
$custom-light: #8faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e1d",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 86.549,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.14873,
    "h": 131.2
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#5C8E1D
secondary
#7D4ABD
accent
#3FE98A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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