#5C7717#5C7717

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

Color values

HEX#5C7717
RGBrgb(92, 119, 23)
HSLhsl(77, 68%, 28%)
HSVhsv(77, 81%, 47%)
CMYKcmyk(22.7%, 0%, 80.7%, 53.3%)
CIE-LABlab(46.35, -23.89, 45.66)
CIE-LCHlch(46.35, 51.53, 117.62°)
OKLaboklab(52.94% -0.0696 0.1006)
OKLCHoklch(52.94% 0.122 124.7)
XYZxyz(11.1652, 15.5307, 3.2199)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7717 #321777
analogous
#776217 #5C7717 #2C7717
triadic
#5C7717 #175C77 #77175C
tetradic
#5C7717 #177762 #321777 #77172C
square
#5C7717 #177762 #321777 #77172C
split-complementary
#5C7717 #172C77 #621777
monochromatic
#141A05 #34440D #5C7717 #84AA21 #A9D731

Accessibility & contrast

On white

5.11
#5C7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C7717
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7717#FFFFFF#000000##FFFFFF
##5C77171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c7717;
/* rgb */ color: rgb(92, 119, 23);
/* oklch */ color: oklch(52.9% 0.122 124.7);
Tailwind
colors: {
  custom: {
    50: '#8d9e5d',
    500: '#5c7717',
    950: '#000000',
  },
}
SCSS
$custom: #5c7717;
$custom-light: #8d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7717",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 76.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.12229,
    "h": 124.7
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#5C7717
secondary
#5D3EAC
accent
#3DEA6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7717

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

Preview Lab → · Contrast checker → · Palette generator →

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