#5C8F1D#5C8F1D

#5C8F1D is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.150 H 131.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C8F1D
RGBrgb(92, 143, 29)
HSLhsl(87, 66%, 34%)
HSVhsv(87, 80%, 56%)
CMYKcmyk(35.7%, 0%, 79.7%, 43.9%)
CIE-LABlab(54.04, -34.97, 50.85)
CIE-LCHlch(54.04, 61.72, 124.52°)
OKLaboklab(59.2% -0.0992 0.1125)
OKLCHoklch(59.2% 0.15 131.4)
XYZxyz(14.4577, 22.0084, 4.6484)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F1D #501D8F
analogous
#8F891D #5C8F1D #238F1D
triadic
#5C8F1D #1D5C8F #8F1D5C
tetradic
#5C8F1D #1D8F89 #501D8F #8F1D23
square
#5C8F1D #1D8F89 #501D8F #8F1D23
split-complementary
#5C8F1D #1D238F #891D8F
monochromatic
#1B2908 #3B5C13 #5C8F1D #7DC227 #9BDB4C

Accessibility & contrast

On white

3.89
#5C8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F1D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F1D#FFFFFF#000000##000000
##5C8F1D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f1d;
/* rgb */ color: rgb(92, 143, 29);
/* oklch */ color: oklch(59.2% 0.150 131.4);
Tailwind
colors: {
  custom: {
    50: '#8fb063',
    500: '#5c8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f1d;
$custom-light: #8fb063;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f1d",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 86.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.15,
    "h": 131.4
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#5C8F1D
secondary
#7E4BBD
accent
#3FE98B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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