#5C8E1C#5C8E1C

#5C8E1C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.149 H 131.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E1C
RGBrgb(92, 142, 28)
HSLhsl(86, 67%, 33%)
HSVhsv(86, 80%, 56%)
CMYKcmyk(35.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(53.71, -34.58, 50.87)
CIE-LCHlch(53.71, 61.51, 124.20°)
OKLaboklab(58.94% -0.0982 0.1124)
OKLCHoklch(58.94% 0.149 131.2)
XYZxyz(14.2961, 21.7046, 4.5346)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E1C #4E1C8E
analogous
#8E871C #5C8E1C #238E1C
triadic
#5C8E1C #1C5C8E #8E1C5C
tetradic
#5C8E1C #1C8E87 #4E1C8E #8E1C23
square
#5C8E1C #1C8E87 #4E1C8E #8E1C23
split-complementary
#5C8E1C #1C238E #871C8E
monochromatic
#1A2808 #3B5B12 #5C8E1C #7DC126 #9BDB49

Accessibility & contrast

On white

3.93
#5C8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E1C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E1C#FFFFFF#000000##000000
##5C8E1C1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e1c;
/* rgb */ color: rgb(92, 142, 28);
/* oklch */ color: oklch(58.9% 0.149 131.2);
Tailwind
colors: {
  custom: {
    50: '#8faf63',
    500: '#5c8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e1c;
$custom-light: #8faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e1c",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 86.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.14925,
    "h": 131.2
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#5C8E1C
secondary
#7C49BD
accent
#3EEA89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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