#5C8B19#5C8B19

#5C8B19 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.147 H 130.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C8B19
RGBrgb(92, 139, 25)
HSLhsl(85, 70%, 32%)
HSVhsv(85, 82%, 55%)
CMYKcmyk(33.8%, 0%, 82%, 45.5%)
CIE-LABlab(52.74, -33.37, 50.90)
CIE-LCHlch(52.74, 60.86, 123.25°)
OKLaboklab(58.14% -0.0952 0.112)
OKLCHoklch(58.14% 0.147 130.4)
XYZxyz(13.8216, 20.8103, 4.2081)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B19 #48198B
analogous
#8B8119 #5C8B19 #238B19
triadic
#5C8B19 #195C8B #8B195C
tetradic
#5C8B19 #198B81 #48198B #8B1923
square
#5C8B19 #198B81 #48198B #8B1923
split-complementary
#5C8B19 #19238B #81198B
monochromatic
#172306 #3A5710 #5C8B19 #7EBF22 #9DDD41

Accessibility & contrast

On white

4.07
#5C8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5C8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B19#FFFFFF#000000##000000
##5C8B191.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#5E8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b19;
/* rgb */ color: rgb(92, 139, 25);
/* oklch */ color: oklch(58.1% 0.147 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fad61',
    500: '#5c8b19',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b19;
$custom-light: #8fad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b19",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 84.737,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.14693,
    "h": 130.4
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#5C8B19
secondary
#7542BE
accent
#3BEC84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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