#5C8E1A#5C8E1A

#5C8E1A is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.150 H 131.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E1A
RGBrgb(92, 142, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35.2%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.70, -34.68, 51.48)
CIE-LCHlch(53.70, 62.07, 123.97°)
OKLaboklab(58.92% -0.0986 0.1133)
OKLCHoklch(58.92% 0.15 131)
XYZxyz(14.2730, 21.6954, 4.4127)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E1A #4C1A8E
analogous
#8E861A #5C8E1A #228E1A
triadic
#5C8E1A #1A5C8E #8E1A5C
tetradic
#5C8E1A #1A8E86 #4C1A8E #8E1A22
square
#5C8E1A #1A8E86 #4C1A8E #8E1A22
split-complementary
#5C8E1A #1A228E #861A8E
monochromatic
#192707 #3A5A11 #5C8E1A #7EC223 #9CDD45

Accessibility & contrast

On white

3.93
#5C8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E1A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E1A#FFFFFF#000000##000000
##5C8E1A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e1a;
/* rgb */ color: rgb(92, 142, 26);
/* oklch */ color: oklch(58.9% 0.150 131.0);
Tailwind
colors: {
  custom: {
    50: '#8faf62',
    500: '#5c8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e1a;
$custom-light: #8faf62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e1a",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 85.862,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.15024,
    "h": 131
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#5C8E1A
secondary
#7A45BE
accent
#3CEC88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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