#5C7716#5C7716

#5C7716 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.123 H 124.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C7716
RGBrgb(92, 119, 22)
HSLhsl(77, 69%, 28%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(22.7%, 0%, 81.5%, 53.3%)
CIE-LABlab(46.35, -23.93, 45.98)
CIE-LCHlch(46.35, 51.84, 117.50°)
OKLaboklab(52.94% -0.0698 0.1011)
OKLCHoklch(52.94% 0.123 124.6)
XYZxyz(11.1554, 15.5268, 3.1682)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7716 #311677
analogous
#776116 #5C7716 #2C7716
triadic
#5C7716 #165C77 #77165C
tetradic
#5C7716 #167761 #311677 #77162C
square
#5C7716 #167761 #311677 #77162C
split-complementary
#5C7716 #162C77 #611677
monochromatic
#141A05 #34430C #5C7716 #84AB20 #A9D92F

Accessibility & contrast

On white

5.12
#5C7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5C7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7716
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7716#FFFFFF#000000##FFFFFF
##5C77161.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#617165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c7716;
/* rgb */ color: rgb(92, 119, 22);
/* oklch */ color: oklch(52.9% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#8d9e5d',
    500: '#5c7716',
    950: '#000000',
  },
}
SCSS
$custom: #5c7716;
$custom-light: #8d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7716",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 76.701,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.12283,
    "h": 124.6
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#5C7716
secondary
#5C3CAC
accent
#3CEC6D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7716

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

Preview Lab → · Contrast checker → · Palette generator →

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