#5C8D1D#5C8D1D

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

Color values

HEX#5C8D1D
RGBrgb(92, 141, 29)
HSLhsl(86, 66%, 33%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(34.8%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.40, -34.07, 50.25)
CIE-LCHlch(53.40, 60.71, 124.14°)
OKLaboklab(58.68% -0.0968 0.1112)
OKLCHoklch(58.68% 0.147 131)
XYZxyz(14.1602, 21.4132, 4.5493)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D1D #4E1D8D
analogous
#8D861D #5C8D1D #248D1D
triadic
#5C8D1D #1D5C8D #8D1D5C
tetradic
#5C8D1D #1D8D86 #4E1D8D #8D1D24
square
#5C8D1D #1D8D86 #4E1D8D #8D1D24
split-complementary
#5C8D1D #1D248D #861D8D
monochromatic
#1A2708 #3B5A13 #5C8D1D #7DC027 #9BDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D1D#FFFFFF#000000##000000
##5C8D1D1.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)
#8D7E29
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d1d;
/* rgb */ color: rgb(92, 141, 29);
/* oklch */ color: oklch(58.7% 0.147 131.0);
Tailwind
colors: {
  custom: {
    50: '#8fae63',
    500: '#5c8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d1d;
$custom-light: #8fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d1d",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 86.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.14745,
    "h": 131
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#5C8D1D
secondary
#7C4ABC
accent
#3FE989
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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