#5C8015#5C8015

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

Color values

HEX#5C8015
RGBrgb(92, 128, 21)
HSLhsl(80, 72%, 29%)
HSVhsv(80, 84%, 50%)
CMYKcmyk(28.1%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.21, -28.40, 48.89)
CIE-LCHlch(49.21, 56.54, 120.15°)
OKLaboklab(55.26% -0.082 0.1071)
OKLCHoklch(55.26% 0.135 127.5)
XYZxyz(12.2682, 17.7675, 3.4924)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8015 #391580
analogous
#806F15 #5C8015 #278015
triadic
#5C8015 #155C80 #80155C
tetradic
#5C8015 #15806F #391580 #801527
square
#5C8015 #15806F #391580 #801527
split-complementary
#5C8015 #152780 #6F1580
monochromatic
#131A04 #364B0C #5C8015 #82B51E #A4DD32

Accessibility & contrast

On white

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

On black

4.55
#5C8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C8015#FFFFFF#000000##FFFFFF
##5C80151.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8015;
/* rgb */ color: rgb(92, 128, 21);
/* oklch */ color: oklch(55.3% 0.135 127.5);
Tailwind
colors: {
  custom: {
    50: '#8ea55e',
    500: '#5c8015',
    950: '#000000',
  },
}
SCSS
$custom: #5c8015;
$custom-light: #8ea55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8015",
  "rgb": {
    "r": 92,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 80.187,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.13485,
    "h": 127.5
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#5C8015
secondary
#653CB5
accent
#39EF76
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8015

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

Preview Lab → · Contrast checker → · Palette generator →

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