#3C8517#3C8517

#3C8517 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 54.9% C 0.157 H 137.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3C8517
RGBrgb(60, 133, 23)
HSLhsl(100, 71%, 31%)
HSVhsv(100, 83%, 52%)
CMYKcmyk(54.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.25, -42.05, 47.73)
CIE-LCHlch(49.25, 63.62, 131.38°)
OKLaboklab(54.86% -0.1165 0.1056)
OKLCHoklch(54.86% 0.157 137.8)
XYZxyz(10.4053, 17.7968, 3.6973)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8517 #601785
analogous
#738517 #3C8517 #178529
triadic
#3C8517 #173C85 #85173C
tetradic
#3C8517 #177385 #601785 #852917
square
#3C8517 #177385 #601785 #852917
split-complementary
#3C8517 #291785 #851773
monochromatic
#0D1D05 #24510E #3C8517 #54B920 #70DD3A

Accessibility & contrast

On white

4.61
#3C8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3C8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8517
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8517#FFFFFF#000000##FFFFFF
##3C85171.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#368071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3c8517;
/* rgb */ color: rgb(60, 133, 23);
/* oklch */ color: oklch(54.9% 0.157 137.8);
Tailwind
colors: {
  custom: {
    50: '#7aa95f',
    500: '#3c8517',
    950: '#000000',
  },
}
SCSS
$custom: #3c8517;
$custom-light: #7aa95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8517",
  "rgb": {
    "r": 60,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 99.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.15726,
    "h": 137.8
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#3C8517
secondary
#903FB9
accent
#3BEDB1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3C8517

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

Preview Lab → · Contrast checker → · Palette generator →

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