#5C8D1B#5C8D1B

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

Color values

HEX#5C8D1B
RGBrgb(92, 141, 27)
HSLhsl(86, 68%, 33%)
HSVhsv(86, 81%, 55%)
CMYKcmyk(34.8%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.39, -34.18, 50.88)
CIE-LCHlch(53.39, 61.30, 123.89°)
OKLaboklab(58.67% -0.0972 0.1122)
OKLCHoklch(58.67% 0.148 130.9)
XYZxyz(14.1362, 21.4037, 4.4232)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D1B #4C1B8D
analogous
#8D851B #5C8D1B #238D1B
triadic
#5C8D1B #1B5C8D #8D1B5C
tetradic
#5C8D1B #1B8D85 #4C1B8D #8D1B23
square
#5C8D1B #1B8D85 #4C1B8D #8D1B23
split-complementary
#5C8D1B #1B238D #851B8D
monochromatic
#192607 #3A5A11 #5C8D1B #7EC025 #9CDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D1B#FFFFFF#000000##000000
##5C8D1B1.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: #5c8d1b;
/* rgb */ color: rgb(92, 141, 27);
/* oklch */ color: oklch(58.7% 0.148 130.9);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5c8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d1b;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d1b",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 85.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.14848,
    "h": 130.9
  },
  "luminance": 0.21404
}

Semantic roles & 50–950 ramp

primary
#5C8D1B
secondary
#7A46BD
accent
#3DEB88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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