#5C8019#5C8019

#5C8019 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.133 H 127.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C8019
RGBrgb(92, 128, 25)
HSLhsl(81, 67%, 30%)
HSVhsv(81, 80%, 50%)
CMYKcmyk(28.1%, 0%, 80.5%, 49.8%)
CIE-LABlab(49.23, -28.21, 47.67)
CIE-LCHlch(49.23, 55.39, 120.62°)
OKLaboklab(55.28% -0.0812 0.1051)
OKLCHoklch(55.28% 0.133 127.7)
XYZxyz(12.3083, 17.7836, 3.7036)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8019 #3D1980
analogous
#807119 #5C8019 #288019
triadic
#5C8019 #195C80 #80195C
tetradic
#5C8019 #198071 #3D1980 #801928
square
#5C8019 #198071 #3D1980 #801928
split-complementary
#5C8019 #192880 #711980
monochromatic
#121A05 #374D0F #5C8019 #81B323 #A1D93B

Accessibility & contrast

On white

4.61
#5C8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5C8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C8019
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8019#FFFFFF#000000##FFFFFF
##5C80191.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#607A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c8019;
/* rgb */ color: rgb(92, 128, 25);
/* oklch */ color: oklch(55.3% 0.133 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ea55f',
    500: '#5c8019',
    950: '#000000',
  },
}
SCSS
$custom: #5c8019;
$custom-light: #8ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8019",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 80.971,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.13285,
    "h": 127.7
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#5C8019
secondary
#6941B4
accent
#3EEA7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8019

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

Preview Lab → · Contrast checker → · Palette generator →

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