#3C8417#3C8417

#3C8417 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.6% C 0.156 H 137.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3C8417
RGBrgb(60, 132, 23)
HSLhsl(100, 70%, 30%)
HSVhsv(100, 83%, 52%)
CMYKcmyk(54.5%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.91, -41.66, 47.42)
CIE-LCHlch(48.91, 63.12, 131.30°)
OKLaboklab(54.58% -0.1154 0.105)
OKLCHoklch(54.58% 0.156 137.7)
XYZxyz(10.2690, 17.5243, 3.6518)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8417 #5F1784
analogous
#728417 #3C8417 #178428
triadic
#3C8417 #173C84 #84173C
tetradic
#3C8417 #177284 #5F1784 #842817
square
#3C8417 #177284 #5F1784 #842817
split-complementary
#3C8417 #281784 #841772
monochromatic
#0D1C05 #24500E #3C8417 #54B820 #70DC39

Accessibility & contrast

On white

4.66
#3C8417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3C8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8417
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8417#FFFFFF#000000##FFFFFF
##3C84171.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#367F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3c8417;
/* rgb */ color: rgb(60, 132, 23);
/* oklch */ color: oklch(54.6% 0.156 137.7);
Tailwind
colors: {
  custom: {
    50: '#7aa85f',
    500: '#3c8417',
    950: '#000000',
  },
}
SCSS
$custom: #3c8417;
$custom-light: #7aa85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8417",
  "rgb": {
    "r": 60,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 99.633,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.15604,
    "h": 137.7
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#3C8417
secondary
#8F3FB8
accent
#3BEDB1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3C8417

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

Preview Lab → · Contrast checker → · Palette generator →

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