#5C8C1D#5C8C1D

#5C8C1D is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.146 H 130.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5C8C1D
RGBrgb(92, 140, 29)
HSLhsl(86, 66%, 33%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(34.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(53.08, -33.62, 49.95)
CIE-LCHlch(53.08, 60.21, 123.94°)
OKLaboklab(58.42% -0.0956 0.1106)
OKLCHoklch(58.42% 0.146 130.8)
XYZxyz(14.0134, 21.1197, 4.5003)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C1D #4D1D8C
analogous
#8C841D #5C8C1D #248C1D
triadic
#5C8C1D #1D5C8C #8C1D5C
tetradic
#5C8C1D #1D8C84 #4D1D8C #8C1D24
square
#5C8C1D #1D8C84 #4D1D8C #8C1D24
split-complementary
#5C8C1D #1D248C #841D8C
monochromatic
#192708 #3B5912 #5C8C1D #7DBF28 #9BD94A

Accessibility & contrast

On white

4.02
#5C8C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5C8C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8C1D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8C1D#FFFFFF#000000##000000
##5C8C1D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#5E8677
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c1d;
/* rgb */ color: rgb(92, 140, 29);
/* oklch */ color: oklch(58.4% 0.146 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fae63',
    500: '#5c8c1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c1d;
$custom-light: #8fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c1d",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 85.946,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.14617,
    "h": 130.8
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#5C8C1D
secondary
#7B49BC
accent
#3FE988
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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