#5C7816#5C7816

#5C7816 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.124 H 125.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5C7816
RGBrgb(92, 120, 22)
HSLhsl(77, 69%, 28%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(23.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(46.67, -24.44, 46.27)
CIE-LCHlch(46.67, 52.33, 117.84°)
OKLaboklab(53.19% -0.0712 0.1017)
OKLCHoklch(53.19% 0.124 125)
XYZxyz(11.2750, 15.7660, 3.2080)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7816 #321678
analogous
#786316 #5C7816 #2B7816
triadic
#5C7816 #165C78 #78165C
tetradic
#5C7816 #167863 #321678 #78162B
square
#5C7816 #167863 #321678 #78162B
split-complementary
#5C7816 #162B78 #631678
monochromatic
#141A05 #34440D #5C7816 #84AC1F #A9D92F

Accessibility & contrast

On white

5.06
#5C7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5C7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7816
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7816#FFFFFF#000000##FFFFFF
##5C78161.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#617266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c7816;
/* rgb */ color: rgb(92, 120, 22);
/* oklch */ color: oklch(53.2% 0.124 125.0);
Tailwind
colors: {
  custom: {
    50: '#8d9f5d',
    500: '#5c7816',
    950: '#000000',
  },
}
SCSS
$custom: #5c7816;
$custom-light: #8d9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7816",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 77.143,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.12411,
    "h": 125
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#5C7816
secondary
#5D3CAD
accent
#3CEC6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7816

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

Preview Lab → · Contrast checker → · Palette generator →

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