#3C7917#3C7917

#3C7917 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.142 H 136.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3C7917
RGBrgb(60, 121, 23)
HSLhsl(97, 68%, 28%)
HSVhsv(97, 81%, 47%)
CMYKcmyk(50.4%, 0%, 81%, 52.5%)
CIE-LABlab(45.22, -37.19, 43.95)
CIE-LCHlch(45.22, 57.58, 130.24°)
OKLaboklab(51.54% -0.1035 0.0977)
OKLCHoklch(51.54% 0.142 136.6)
XYZxyz(8.8553, 14.6967, 3.1806)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7917 #541779
analogous
#6D7917 #3C7917 #177923
triadic
#3C7917 #173C79 #79173C
tetradic
#3C7917 #176D79 #541779 #792317
square
#3C7917 #176D79 #541779 #792317
split-complementary
#3C7917 #231779 #79176D
monochromatic
#0D1A05 #22460D #3C7917 #55AC21 #71D832

Accessibility & contrast

On white

5.33
#3C7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3C7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7917
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7917#FFFFFF#000000##FFFFFF
##3C79171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#397467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3c7917;
/* rgb */ color: rgb(60, 121, 23);
/* oklch */ color: oklch(51.5% 0.142 136.6);
Tailwind
colors: {
  custom: {
    50: '#78a05d',
    500: '#3c7917',
    950: '#000000',
  },
}
SCSS
$custom: #3c7917;
$custom-light: #78a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7917",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 97.347,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.14231,
    "h": 136.6
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#3C7917
secondary
#843EAE
accent
#3DEBA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #3C7917

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

Preview Lab → · Contrast checker → · Palette generator →

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