#5C8F1C#5C8F1C

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

Color values

HEX#5C8F1C
RGBrgb(92, 143, 28)
HSLhsl(87, 67%, 34%)
HSVhsv(87, 80%, 56%)
CMYKcmyk(35.7%, 0%, 80.4%, 43.9%)
CIE-LABlab(54.03, -35.03, 51.16)
CIE-LCHlch(54.03, 62.01, 124.39°)
OKLaboklab(59.2% -0.0994 0.113)
OKLCHoklch(59.2% 0.151 131.3)
XYZxyz(14.4456, 22.0035, 4.5844)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F1C #4F1C8F
analogous
#8F881C #5C8F1C #228F1C
triadic
#5C8F1C #1C5C8F #8F1C5C
tetradic
#5C8F1C #1C8F88 #4F1C8F #8F1C22
square
#5C8F1C #1C8F88 #4F1C8F #8F1C22
split-complementary
#5C8F1C #1C228F #881C8F
monochromatic
#1A2908 #3B5C12 #5C8F1C #7DC226 #9BDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F1C#FFFFFF#000000##000000
##5C8F1C1.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: #5c8f1c;
/* rgb */ color: rgb(92, 143, 28);
/* oklch */ color: oklch(59.2% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fb063',
    500: '#5c8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f1c;
$custom-light: #8fb063;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f1c",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 86.609,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.15052,
    "h": 131.3
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#5C8F1C
secondary
#7D49BE
accent
#3EEA8A
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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