#5C8F1B#5C8F1B

#5C8F1B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.151 H 131.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C8F1B
RGBrgb(92, 143, 27)
HSLhsl(86, 68%, 33%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(35.7%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.03, -35.08, 51.47)
CIE-LCHlch(54.03, 62.29, 124.27°)
OKLaboklab(59.19% -0.0996 0.1135)
OKLCHoklch(59.19% 0.151 131.3)
XYZxyz(14.4338, 21.9988, 4.5224)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F1B #4E1B8F
analogous
#8F881B #5C8F1B #228F1B
triadic
#5C8F1B #1B5C8F #8F1B5C
tetradic
#5C8F1B #1B8F88 #4E1B8F #8F1B22
square
#5C8F1B #1B8F88 #4E1B8F #8F1B22
split-complementary
#5C8F1B #1B228F #881B8F
monochromatic
#1A2808 #3B5C11 #5C8F1B #7DC225 #9BDC48

Accessibility & contrast

On white

3.89
#5C8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5C8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F1B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F1B#FFFFFF#000000##000000
##5C8F1B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f1b;
/* rgb */ color: rgb(92, 143, 27);
/* oklch */ color: oklch(59.2% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fb062',
    500: '#5c8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f1b;
$custom-light: #8fb062;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f1b",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 86.379,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.15102,
    "h": 131.3
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#5C8F1B
secondary
#7C48BE
accent
#3DEB89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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