#5C8E19#5C8E19

#5C8E19 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.151 H 131.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C8E19
RGBrgb(92, 142, 25)
HSLhsl(86, 70%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35.2%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.70, -34.73, 51.77)
CIE-LCHlch(53.70, 62.34, 123.85°)
OKLaboklab(58.92% -0.0988 0.1138)
OKLCHoklch(58.92% 0.151 131)
XYZxyz(14.2620, 21.6910, 4.3548)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E19 #4B198E
analogous
#8E8519 #5C8E19 #218E19
triadic
#5C8E19 #195C8E #8E195C
tetradic
#5C8E19 #198E85 #4B198E #8E1921
square
#5C8E19 #198E85 #4B198E #8E1921
split-complementary
#5C8E19 #19218E #85198E
monochromatic
#192607 #3A5A10 #5C8E19 #7EC222 #9CDE43

Accessibility & contrast

On white

3.93
#5C8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5C8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E19
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E19#FFFFFF#000000##000000
##5C8E191.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#5E8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8e19;
/* rgb */ color: rgb(92, 142, 25);
/* oklch */ color: oklch(58.9% 0.151 131.0);
Tailwind
colors: {
  custom: {
    50: '#8faf61',
    500: '#5c8e19',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e19;
$custom-light: #8faf61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e19",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 85.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.15071,
    "h": 131
  },
  "luminance": 0.21692
}

Semantic roles & 50–950 ramp

primary
#5C8E19
secondary
#7844BF
accent
#3BED87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5C8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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