#3C7417#3C7417

#3C7417 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.136 H 136.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3C7417
RGBrgb(60, 116, 23)
HSLhsl(96, 67%, 27%)
HSVhsv(96, 80%, 45%)
CMYKcmyk(48.3%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.53, -35.08, 42.34)
CIE-LCHlch(43.53, 54.98, 129.64°)
OKLaboklab(50.15% -0.0978 0.0943)
OKLCHoklch(50.15% 0.136 136)
XYZxyz(8.2633, 13.5128, 2.9833)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7417 #4F1774
analogous
#6B7417 #3C7417 #177421
triadic
#3C7417 #173C74 #74173C
tetradic
#3C7417 #176B74 #4F1774 #742117
square
#3C7417 #176B74 #4F1774 #742117
split-complementary
#3C7417 #211774 #74176B
monochromatic
#0D1A05 #22410D #3C7417 #56A721 #72D630

Accessibility & contrast

On white

5.67
#3C7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3C7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7417
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7417#FFFFFF#000000##FFFFFF
##3C74171.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#3A6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3c7417;
/* rgb */ color: rgb(60, 116, 23);
/* oklch */ color: oklch(50.1% 0.136 136.0);
Tailwind
colors: {
  custom: {
    50: '#789c5c',
    500: '#3c7417',
    950: '#000000',
  },
}
SCSS
$custom: #3c7417;
$custom-light: #789c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7417",
  "rgb": {
    "r": 60,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 96.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.13585,
    "h": 136
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#3C7417
secondary
#7E3DA9
accent
#3EEAA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7417

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

Preview Lab → · Contrast checker → · Palette generator →

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