#5C8C1B#5C8C1B

#5C8C1B is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.4% C 0.147 H 130.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5C8C1B
RGBrgb(92, 140, 27)
HSLhsl(85, 68%, 33%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(34.3%, 0%, 80.7%, 45.1%)
CIE-LABlab(53.07, -33.72, 50.59)
CIE-LCHlch(53.07, 60.80, 123.69°)
OKLaboklab(58.41% -0.096 0.1116)
OKLCHoklch(58.41% 0.147 130.7)
XYZxyz(13.9895, 21.1101, 4.3743)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C1B #4B1B8C
analogous
#8C841B #5C8C1B #238C1B
triadic
#5C8C1B #1B5C8C #8C1B5C
tetradic
#5C8C1B #1B8C84 #4B1B8C #8C1B23
square
#5C8C1B #1B8C84 #4B1B8C #8C1B23
split-complementary
#5C8C1B #1B238C #841B8C
monochromatic
#192507 #3A5911 #5C8C1B #7EBF25 #9CDB46

Accessibility & contrast

On white

4.02
#5C8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5C8C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8C1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8C1B#FFFFFF#000000##000000
##5C8C1B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#5E8677
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c1b;
/* rgb */ color: rgb(92, 140, 27);
/* oklch */ color: oklch(58.4% 0.147 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5c8c1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c1b;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c1b",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 85.487,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.14721,
    "h": 130.7
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#5C8C1B
secondary
#7846BD
accent
#3DEB87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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