#3C7517#3C7517

#3C7517 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.137 H 136.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3C7517
RGBrgb(60, 117, 23)
HSLhsl(96, 67%, 27%)
HSVhsv(96, 80%, 46%)
CMYKcmyk(48.7%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.86, -35.50, 42.66)
CIE-LCHlch(43.86, 55.50, 129.77°)
OKLaboklab(50.43% -0.0989 0.095)
OKLCHoklch(50.43% 0.137 136.2)
XYZxyz(8.3792, 13.7446, 3.0219)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7517 #501775
analogous
#6B7517 #3C7517 #177521
triadic
#3C7517 #173C75 #75173C
tetradic
#3C7517 #176B75 #501775 #752117
square
#3C7517 #176B75 #501775 #752117
split-complementary
#3C7517 #211775 #75176B
monochromatic
#0D1A05 #22420D #3C7517 #56A821 #72D630

Accessibility & contrast

On white

5.60
#3C7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3C7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7517
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7517#FFFFFF#000000##FFFFFF
##3C75171.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#397063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3c7517;
/* rgb */ color: rgb(60, 117, 23);
/* oklch */ color: oklch(50.4% 0.137 136.2);
Tailwind
colors: {
  custom: {
    50: '#789d5c',
    500: '#3c7517',
    950: '#000000',
  },
}
SCSS
$custom: #3c7517;
$custom-light: #789d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7517",
  "rgb": {
    "r": 60,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 96.383,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.13716,
    "h": 136.2
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#3C7517
secondary
#7F3DAA
accent
#3EEAA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7517

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

Preview Lab → · Contrast checker → · Palette generator →

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