#5C8C1C#5C8C1C

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

Color values

HEX#5C8C1C
RGBrgb(92, 140, 28)
HSLhsl(86, 67%, 33%)
HSVhsv(86, 80%, 55%)
CMYKcmyk(34.3%, 0%, 80%, 45.1%)
CIE-LABlab(53.07, -33.67, 50.27)
CIE-LCHlch(53.07, 60.51, 123.81°)
OKLaboklab(58.42% -0.0958 0.1111)
OKLCHoklch(58.42% 0.147 130.8)
XYZxyz(14.0012, 21.1148, 4.4363)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8C1C #4C1C8C
analogous
#8C841C #5C8C1C #248C1C
triadic
#5C8C1C #1C5C8C #8C1C5C
tetradic
#5C8C1C #1C8C84 #4C1C8C #8C1C24
square
#5C8C1C #1C8C84 #4C1C8C #8C1C24
split-complementary
#5C8C1C #1C248C #841C8C
monochromatic
#192608 #3A5912 #5C8C1C #7EBF26 #9CDA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8C1C#FFFFFF#000000##000000
##5C8C1C1.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)
#8C7E28
Tritanopia (blue-blind)
#5E8677
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8c1c;
/* rgb */ color: rgb(92, 140, 28);
/* oklch */ color: oklch(58.4% 0.147 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5c8c1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8c1c;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8c1c",
  "rgb": {
    "r": 92,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 85.714,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.1467,
    "h": 130.8
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#5C8C1C
secondary
#7A48BC
accent
#3EEA88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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