#5C8118#5C8118

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

Color values

HEX#5C8118
RGBrgb(92, 129, 24)
HSLhsl(81, 69%, 30%)
HSVhsv(81, 81%, 51%)
CMYKcmyk(28.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.55, -28.74, 48.28)
CIE-LCHlch(49.55, 56.19, 120.77°)
OKLaboklab(55.54% -0.0827 0.1063)
OKLCHoklch(55.54% 0.135 127.9)
XYZxyz(12.4288, 18.0415, 3.6915)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8118 #3D1881
analogous
#817218 #5C8118 #278118
triadic
#5C8118 #185C81 #81185C
tetradic
#5C8118 #188172 #3D1881 #811827
square
#5C8118 #188172 #3D1881 #811827
split-complementary
#5C8118 #182781 #721881
monochromatic
#121A05 #374D0E #5C8118 #81B522 #A1DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8118#FFFFFF#000000##000000
##5C81181.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)
#837523
Tritanopia (blue-blind)
#607B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8118;
/* rgb */ color: rgb(92, 129, 24);
/* oklch */ color: oklch(55.5% 0.135 127.9);
Tailwind
colors: {
  custom: {
    50: '#8ea55f',
    500: '#5c8118',
    950: '#000000',
  },
}
SCSS
$custom: #5c8118;
$custom-light: #8ea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8118",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 81.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.13466,
    "h": 127.9
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#5C8118
secondary
#6940B5
accent
#3CEB7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8118

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

Preview Lab → · Contrast checker → · Palette generator →

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