#5C8819#5C8819

#5C8819 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.4% C 0.143 H 129.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5C8819
RGBrgb(92, 136, 25)
HSLhsl(84, 69%, 32%)
HSVhsv(84, 82%, 53%)
CMYKcmyk(32.4%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.78, -31.99, 50.02)
CIE-LCHlch(51.78, 59.38, 122.60°)
OKLaboklab(57.36% -0.0914 0.1101)
OKLCHoklch(57.36% 0.143 129.7)
XYZxyz(13.3932, 19.9534, 4.0653)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8819 #451988
analogous
#887D19 #5C8819 #258819
triadic
#5C8819 #195C88 #88195C
tetradic
#5C8819 #19887D #451988 #881925
square
#5C8819 #19887D #451988 #881925
split-complementary
#5C8819 #192588 #7D1988
monochromatic
#162106 #39540F #5C8819 #7FBC23 #9EDC40

Accessibility & contrast

On white

4.21
#5C8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5C8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8819
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8819#FFFFFF#000000##000000
##5C88191.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#5F8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8819;
/* rgb */ color: rgb(92, 136, 25);
/* oklch */ color: oklch(57.4% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#8eab60',
    500: '#5c8819',
    950: '#000000',
  },
}
SCSS
$custom: #5c8819;
$custom-light: #8eab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8819",
  "rgb": {
    "r": 92,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 83.784,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.14312,
    "h": 129.7
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#5C8819
secondary
#7241BB
accent
#3CEC82
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8819

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

Preview Lab → · Contrast checker → · Palette generator →

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