#5C8D19#5C8D19

#5C8D19 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.149 H 130.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C8D19
RGBrgb(92, 141, 25)
HSLhsl(85, 70%, 33%)
HSVhsv(85, 82%, 55%)
CMYKcmyk(34.8%, 0%, 82.3%, 44.7%)
CIE-LABlab(53.38, -34.27, 51.48)
CIE-LCHlch(53.38, 61.85, 123.65°)
OKLaboklab(58.66% -0.0976 0.1132)
OKLCHoklch(58.66% 0.149 130.8)
XYZxyz(14.1139, 21.3947, 4.3055)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D19 #4A198D
analogous
#8D8419 #5C8D19 #228D19
triadic
#5C8D19 #195C8D #8D195C
tetradic
#5C8D19 #198D84 #4A198D #8D1922
square
#5C8D19 #198D84 #4A198D #8D1922
split-complementary
#5C8D19 #19228D #84198D
monochromatic
#182507 #3A5910 #5C8D19 #7EC122 #9CDE43

Accessibility & contrast

On white

3.98
#5C8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5C8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D19
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D19#FFFFFF#000000##000000
##5C8D191.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#5E8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5c8d19;
/* rgb */ color: rgb(92, 141, 25);
/* oklch */ color: oklch(58.7% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fae61',
    500: '#5c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d19;
$custom-light: #8fae61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d19",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 85.345,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.14946,
    "h": 130.8
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#5C8D19
secondary
#7743BF
accent
#3BED86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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