#3C7017#3C7017

#3C7017 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.131 H 135.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3C7017
RGBrgb(60, 112, 23)
HSLhsl(95, 66%, 26%)
HSVhsv(95, 79%, 44%)
CMYKcmyk(46.4%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.17, -33.34, 41.03)
CIE-LCHlch(42.17, 52.87, 129.10°)
OKLaboklab(49.03% -0.0931 0.0916)
OKLCHoklch(49.03% 0.131 135.5)
XYZxyz(7.8121, 12.6104, 2.8329)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7017 #4B1770
analogous
#697017 #3C7017 #17701F
triadic
#3C7017 #173C70 #70173C
tetradic
#3C7017 #176970 #4B1770 #701F17
square
#3C7017 #176970 #4B1770 #701F17
split-complementary
#3C7017 #1F1770 #701769
monochromatic
#0E1905 #213D0D #3C7017 #57A321 #73D42D

Accessibility & contrast

On white

5.96
#3C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3C7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7017
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7017#FFFFFF#000000##FFFFFF
##3C70171.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#3A6C5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3c7017;
/* rgb */ color: rgb(60, 112, 23);
/* oklch */ color: oklch(49.0% 0.131 135.5);
Tailwind
colors: {
  custom: {
    50: '#77995b',
    500: '#3c7017',
    950: '#000000',
  },
}
SCSS
$custom: #3c7017;
$custom-light: #77995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7017",
  "rgb": {
    "r": 60,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 95.056,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.1306,
    "h": 135.5
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#3C7017
secondary
#7A3DA6
accent
#3FE9A2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7017

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

Preview Lab → · Contrast checker → · Palette generator →

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