#3C8017#3C8017

#3C8017 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.5% C 0.151 H 137.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3C8017
RGBrgb(60, 128, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 82%, 50%)
CMYKcmyk(53.1%, 0%, 82%, 49.8%)
CIE-LABlab(47.57, -40.06, 46.17)
CIE-LCHlch(47.57, 61.13, 130.95°)
OKLaboklab(53.48% -0.1112 0.1024)
OKLCHoklch(53.48% 0.151 137.4)
XYZxyz(9.7370, 16.4601, 3.4745)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8017 #5B1780
analogous
#718017 #3C8017 #178027
triadic
#3C8017 #173C80 #80173C
tetradic
#3C8017 #177180 #5B1780 #802717
square
#3C8017 #177180 #5B1780 #802717
split-complementary
#3C8017 #271780 #801771
monochromatic
#0C1A05 #244C0E #3C8017 #54B420 #70DB36

Accessibility & contrast

On white

4.89
#3C8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3C8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8017
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8017#FFFFFF#000000##FFFFFF
##3C80171.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#377B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3c8017;
/* rgb */ color: rgb(60, 128, 23);
/* oklch */ color: oklch(53.5% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3c8017',
    950: '#000000',
  },
}
SCSS
$custom: #3c8017;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8017",
  "rgb": {
    "r": 60,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 98.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.15112,
    "h": 137.4
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#3C8017
secondary
#8B3EB4
accent
#3BECAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8017

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

Preview Lab → · Contrast checker → · Palette generator →

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