#5C8F19#5C8F19

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

Color values

HEX#5C8F19
RGBrgb(92, 143, 25)
HSLhsl(86, 70%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(35.7%, 0%, 82.5%, 43.9%)
CIE-LABlab(54.02, -35.17, 52.06)
CIE-LCHlch(54.02, 62.83, 124.04°)
OKLaboklab(59.18% -0.1 0.1144)
OKLCHoklch(59.18% 0.152 131.2)
XYZxyz(14.4114, 21.9899, 4.4047)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F19 #4C198F
analogous
#8F8719 #5C8F19 #218F19
triadic
#5C8F19 #195C8F #8F195C
tetradic
#5C8F19 #198F87 #4C198F #8F1921
square
#5C8F19 #198F87 #4C198F #8F1921
split-complementary
#5C8F19 #19218F #87198F
monochromatic
#192707 #3A5B10 #5C8F19 #7EC322 #9CDE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F19#FFFFFF#000000##000000
##5C8F191.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)
#8F8027
Tritanopia (blue-blind)
#5E897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f19;
/* rgb */ color: rgb(92, 143, 25);
/* oklch */ color: oklch(59.2% 0.152 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fb061',
    500: '#5c8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f19;
$custom-light: #8fb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f19",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 85.932,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.15196,
    "h": 131.2
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#5C8F19
secondary
#7A44BF
accent
#3BED88
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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