#5C8115#5C8115

#5C8115 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.136 H 127.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5C8115
RGBrgb(92, 129, 21)
HSLhsl(81, 72%, 29%)
HSVhsv(81, 84%, 51%)
CMYKcmyk(28.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.53, -28.88, 49.18)
CIE-LCHlch(49.53, 57.03, 120.43°)
OKLaboklab(55.52% -0.0833 0.1077)
OKLCHoklch(55.52% 0.136 127.7)
XYZxyz(12.3993, 18.0297, 3.5361)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8115 #3A1581
analogous
#817015 #5C8115 #268115
triadic
#5C8115 #155C81 #81155C
tetradic
#5C8115 #158170 #3A1581 #811526
square
#5C8115 #158170 #3A1581 #811526
split-complementary
#5C8115 #152681 #701581
monochromatic
#131A04 #364C0C #5C8115 #82B61E #A3DE33

Accessibility & contrast

On white

4.56
#5C8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5C8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8115
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8115#FFFFFF#000000##000000
##5C81151.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#607B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8115;
/* rgb */ color: rgb(92, 129, 21);
/* oklch */ color: oklch(55.5% 0.136 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ea55e',
    500: '#5c8115',
    950: '#000000',
  },
}
SCSS
$custom: #5c8115;
$custom-light: #8ea55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8115",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 80.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55519,
    "c": 0.13612,
    "h": 127.7
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#5C8115
secondary
#663CB6
accent
#39EF77
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8115

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

Preview Lab → · Contrast checker → · Palette generator →

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