#5C7017#5C7017

#5C7017 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.113 H 121.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C7017
RGBrgb(92, 112, 23)
HSLhsl(73, 66%, 26%)
HSVhsv(73, 79%, 44%)
CMYKcmyk(17.9%, 0%, 79.5%, 56.1%)
CIE-LABlab(44.13, -20.30, 43.58)
CIE-LCHlch(44.13, 48.08, 114.98°)
OKLaboklab(51.14% -0.0598 0.0962)
OKLCHoklch(51.14% 0.113 121.9)
XYZxyz(10.3626, 13.9255, 2.9524)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7017 #2B1770
analogous
#705817 #5C7017 #307017
triadic
#5C7017 #175C70 #70175C
tetradic
#5C7017 #177058 #2B1770 #701730
square
#5C7017 #177058 #2B1770 #701730
split-complementary
#5C7017 #173070 #581770
monochromatic
#151905 #323D0D #5C7017 #86A321 #AFD42D

Accessibility & contrast

On white

5.55
#5C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5C7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7017
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7017#FFFFFF#000000##FFFFFF
##5C70171.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#616A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c7017;
/* rgb */ color: rgb(92, 112, 23);
/* oklch */ color: oklch(51.1% 0.113 121.9);
Tailwind
colors: {
  custom: {
    50: '#8d995c',
    500: '#5c7017',
    950: '#000000',
  },
}
SCSS
$custom: #5c7017;
$custom-light: #8d995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7017",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 73.483,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.11325,
    "h": 121.9
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#5C7017
secondary
#553DA6
accent
#3FE965
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C7017

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

Preview Lab → · Contrast checker → · Palette generator →

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