#3C7717#3C7717

#3C7717 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.0% C 0.140 H 136.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3C7717
RGBrgb(60, 119, 23)
HSLhsl(97, 68%, 28%)
HSVhsv(97, 81%, 47%)
CMYKcmyk(49.6%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.54, -36.35, 43.31)
CIE-LCHlch(44.54, 56.54, 130.01°)
OKLaboklab(50.98% -0.1012 0.0964)
OKLCHoklch(50.98% 0.14 136.4)
XYZxyz(8.6147, 14.2156, 3.1004)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7717 #521777
analogous
#6C7717 #3C7717 #177722
triadic
#3C7717 #173C77 #77173C
tetradic
#3C7717 #176C77 #521777 #772217
square
#3C7717 #176C77 #521777 #772217
split-complementary
#3C7717 #221777 #77176C
monochromatic
#0D1A05 #22440D #3C7717 #56AA21 #71D731

Accessibility & contrast

On white

5.46
#3C7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3C7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7717
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7717#FFFFFF#000000##FFFFFF
##3C77171.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#397265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3c7717;
/* rgb */ color: rgb(60, 119, 23);
/* oklch */ color: oklch(51.0% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#789f5d',
    500: '#3c7717',
    950: '#000000',
  },
}
SCSS
$custom: #3c7717;
$custom-light: #789f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7717",
  "rgb": {
    "r": 60,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 96.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.13974,
    "h": 136.4
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#3C7717
secondary
#823EAC
accent
#3DEAA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7717

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

Preview Lab → · Contrast checker → · Palette generator →

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