#5C7617#5C7617

#5C7617 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.121 H 124.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C7617
RGBrgb(92, 118, 23)
HSLhsl(76, 67%, 28%)
HSVhsv(76, 81%, 46%)
CMYKcmyk(22%, 0%, 80.5%, 53.7%)
CIE-LABlab(46.03, -23.38, 45.36)
CIE-LCHlch(46.03, 51.03, 117.27°)
OKLaboklab(52.68% -0.0682 0.0999)
OKLCHoklch(52.68% 0.121 124.3)
XYZxyz(11.0468, 15.2939, 3.1805)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7617 #311776
analogous
#766017 #5C7617 #2C7617
triadic
#5C7617 #175C76 #76175C
tetradic
#5C7617 #177660 #311776 #76172C
square
#5C7617 #177660 #311776 #76172C
split-complementary
#5C7617 #172C76 #601776
monochromatic
#141A05 #34430D #5C7617 #84A921 #A9D731

Accessibility & contrast

On white

5.17
#5C7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7617
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7617#FFFFFF#000000##FFFFFF
##5C76171.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#617064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c7617;
/* rgb */ color: rgb(92, 118, 23);
/* oklch */ color: oklch(52.7% 0.121 124.3);
Tailwind
colors: {
  custom: {
    50: '#8d9d5d',
    500: '#5c7617',
    950: '#000000',
  },
}
SCSS
$custom: #5c7617;
$custom-light: #8d9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7617",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 76.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.121,
    "h": 124.3
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#5C7617
secondary
#5C3EAB
accent
#3EEA6D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7617

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

Preview Lab → · Contrast checker → · Palette generator →

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