#5C8618#5C8618

#5C8618 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.141 H 129.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5C8618
RGBrgb(92, 134, 24)
HSLhsl(83, 70%, 31%)
HSVhsv(83, 82%, 53%)
CMYKcmyk(31.3%, 0%, 82.1%, 47.5%)
CIE-LABlab(51.14, -31.11, 49.74)
CIE-LCHlch(51.14, 58.67, 122.02°)
OKLaboklab(56.83% -0.0891 0.1094)
OKLCHoklch(56.83% 0.141 129.2)
XYZxyz(13.1036, 19.3911, 3.9164)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8618 #421886
analogous
#867918 #5C8618 #258618
triadic
#5C8618 #185C86 #86185C
tetradic
#5C8618 #188679 #421886 #861825
square
#5C8618 #188679 #421886 #861825
split-complementary
#5C8618 #182586 #791886
monochromatic
#151E05 #38520F #5C8618 #80BA21 #9FDC3C

Accessibility & contrast

On white

4.30
#5C8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5C8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8618
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8618#FFFFFF#000000##000000
##5C86181.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#5F8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5c8618;
/* rgb */ color: rgb(92, 134, 24);
/* oklch */ color: oklch(56.8% 0.141 129.2);
Tailwind
colors: {
  custom: {
    50: '#8ea960',
    500: '#5c8618',
    950: '#000000',
  },
}
SCSS
$custom: #5c8618;
$custom-light: #8ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8618",
  "rgb": {
    "r": 92,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 82.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.14107,
    "h": 129.2
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#5C8618
secondary
#6F40BA
accent
#3BEC7F
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5C8618

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

Preview Lab → · Contrast checker → · Palette generator →

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