#5C8E1B#5C8E1B

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

Color values

HEX#5C8E1B
RGBrgb(92, 142, 27)
HSLhsl(86, 68%, 33%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(35.2%, 0%, 81%, 44.3%)
CIE-LABlab(53.71, -34.63, 51.18)
CIE-LCHlch(53.71, 61.79, 124.08°)
OKLaboklab(58.93% -0.0984 0.1129)
OKLCHoklch(58.93% 0.15 131.1)
XYZxyz(14.2844, 21.6999, 4.4726)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E1B #4D1B8E
analogous
#8E861B #5C8E1B #228E1B
triadic
#5C8E1B #1B5C8E #8E1B5C
tetradic
#5C8E1B #1B8E86 #4D1B8E #8E1B22
square
#5C8E1B #1B8E86 #4D1B8E #8E1B22
split-complementary
#5C8E1B #1B228E #861B8E
monochromatic
#192707 #3B5B11 #5C8E1B #7DC125 #9BDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8E1B#FFFFFF#000000##000000
##5C8E1B1.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)
#8E7F28
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e1b;
/* rgb */ color: rgb(92, 142, 27);
/* oklch */ color: oklch(58.9% 0.150 131.1);
Tailwind
colors: {
  custom: {
    50: '#8faf62',
    500: '#5c8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e1b;
$custom-light: #8faf62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e1b",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 86.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.14975,
    "h": 131.1
  },
  "luminance": 0.217
}

Semantic roles & 50–950 ramp

primary
#5C8E1B
secondary
#7B47BE
accent
#3DEB89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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