#5C8B1D#5C8B1D

#5C8B1D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.145 H 130.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8B1D
RGBrgb(92, 139, 29)
HSLhsl(86, 65%, 33%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(33.8%, 0%, 79.1%, 45.5%)
CIE-LABlab(52.76, -33.16, 49.65)
CIE-LCHlch(52.76, 59.71, 123.74°)
OKLaboklab(58.16% -0.0943 0.11)
OKLCHoklch(58.16% 0.145 130.6)
XYZxyz(13.8679, 20.8288, 4.4518)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B1D #4C1D8B
analogous
#8B831D #5C8B1D #258B1D
triadic
#5C8B1D #1D5C8B #8B1D5C
tetradic
#5C8B1D #1D8B83 #4C1D8B #8B1D25
square
#5C8B1D #1D8B83 #4C1D8B #8B1D25
split-complementary
#5C8B1D #1D258B #831D8B
monochromatic
#192608 #3A5812 #5C8B1D #7EBE28 #9CD949

Accessibility & contrast

On white

4.07
#5C8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B1D#FFFFFF#000000##000000
##5C8B1D1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#5E8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b1d;
/* rgb */ color: rgb(92, 139, 29);
/* oklch */ color: oklch(58.2% 0.145 130.6);
Tailwind
colors: {
  custom: {
    50: '#8ead63',
    500: '#5c8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b1d;
$custom-light: #8ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b1d",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 85.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.14489,
    "h": 130.6
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#5C8B1D
secondary
#7A49BB
accent
#3FE888
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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