#5C8418#5C8418

#5C8418 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.139 H 128.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C8418
RGBrgb(92, 132, 24)
HSLhsl(82, 69%, 31%)
HSVhsv(82, 82%, 52%)
CMYKcmyk(30.3%, 0%, 81.8%, 48.2%)
CIE-LABlab(50.50, -30.17, 49.16)
CIE-LCHlch(50.50, 57.68, 121.54°)
OKLaboklab(56.31% -0.0866 0.1081)
OKLCHoklch(56.31% 0.139 128.7)
XYZxyz(12.8298, 18.8434, 3.8252)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8418 #401884
analogous
#847618 #5C8418 #268418
triadic
#5C8418 #185C84 #84185C
tetradic
#5C8418 #188476 #401884 #841826
square
#5C8418 #188476 #401884 #841826
split-complementary
#5C8418 #182684 #761884
monochromatic
#141C05 #38500F #5C8418 #80B821 #A0DB3B

Accessibility & contrast

On white

4.40
#5C8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5C8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8418
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8418#FFFFFF#000000##000000
##5C84181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#5F7E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8418;
/* rgb */ color: rgb(92, 132, 24);
/* oklch */ color: oklch(56.3% 0.139 128.7);
Tailwind
colors: {
  custom: {
    50: '#8ea85f',
    500: '#5c8418',
    950: '#000000',
  },
}
SCSS
$custom: #5c8418;
$custom-light: #8ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8418",
  "rgb": {
    "r": 92,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 82.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.13851,
    "h": 128.7
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#5C8418
secondary
#6C40B8
accent
#3CEC7D
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5C8418

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

Preview Lab → · Contrast checker → · Palette generator →

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