#5C8D1A#5C8D1A

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

Color values

HEX#5C8D1A
RGBrgb(92, 141, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 55%)
CMYKcmyk(34.8%, 0%, 81.6%, 44.7%)
CIE-LABlab(53.38, -34.23, 51.19)
CIE-LCHlch(53.38, 61.57, 123.77°)
OKLaboklab(58.66% -0.0974 0.1127)
OKLCHoklch(58.66% 0.149 130.8)
XYZxyz(14.1249, 21.3991, 4.3633)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D1A #4B1A8D
analogous
#8D841A #5C8D1A #238D1A
triadic
#5C8D1A #1A5C8D #8D1A5C
tetradic
#5C8D1A #1A8D84 #4B1A8D #8D1A23
square
#5C8D1A #1A8D84 #4B1A8D #8D1A23
split-complementary
#5C8D1A #1A238D #841A8D
monochromatic
#192607 #3A5910 #5C8D1A #7EC124 #9CDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D1A#FFFFFF#000000##000000
##5C8D1A1.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)
#8D7E27
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8d1a;
/* rgb */ color: rgb(92, 141, 26);
/* oklch */ color: oklch(58.7% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5c8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d1a;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d1a",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 85.565,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.14898,
    "h": 130.8
  },
  "luminance": 0.214
}

Semantic roles & 50–950 ramp

primary
#5C8D1A
secondary
#7845BE
accent
#3CEC87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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