#5C8D1C#5C8D1C

#5C8D1C is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.148 H 131.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C8D1C
RGBrgb(92, 141, 28)
HSLhsl(86, 67%, 33%)
HSVhsv(86, 80%, 55%)
CMYKcmyk(34.8%, 0%, 80.1%, 44.7%)
CIE-LABlab(53.39, -34.12, 50.57)
CIE-LCHlch(53.39, 61.01, 124.01°)
OKLaboklab(58.68% -0.097 0.1118)
OKLCHoklch(58.68% 0.148 131)
XYZxyz(14.1480, 21.4084, 4.4852)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D1C #4D1C8D
analogous
#8D851C #5C8D1C #238D1C
triadic
#5C8D1C #1C5C8D #8D1C5C
tetradic
#5C8D1C #1C8D85 #4D1C8D #8D1C23
square
#5C8D1C #1C8D85 #4D1C8D #8D1C23
split-complementary
#5C8D1C #1C238D #851C8D
monochromatic
#192708 #3B5A12 #5C8D1C #7DC026 #9BDB49

Accessibility & contrast

On white

3.98
#5C8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5C8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D1C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D1C#FFFFFF#000000##000000
##5C8D1C1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d1c;
/* rgb */ color: rgb(92, 141, 28);
/* oklch */ color: oklch(58.7% 0.148 131.0);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5c8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d1c;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d1c",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 86.018,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58676,
    "c": 0.14798,
    "h": 131
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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