#3C7F17#3C7F17

#3C7F17 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.150 H 137.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3C7F17
RGBrgb(60, 127, 23)
HSLhsl(99, 69%, 29%)
HSVhsv(99, 82%, 50%)
CMYKcmyk(52.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(47.24, -39.66, 45.86)
CIE-LCHlch(47.24, 60.63, 130.86°)
OKLaboklab(53.2% -0.1101 0.1017)
OKLCHoklch(53.2% 0.15 137.3)
XYZxyz(9.6072, 16.2006, 3.4312)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7F17 #5A177F
analogous
#707F17 #3C7F17 #177F26
triadic
#3C7F17 #173C7F #7F173C
tetradic
#3C7F17 #17707F #5A177F #7F2617
square
#3C7F17 #17707F #5A177F #7F2617
split-complementary
#3C7F17 #26177F #7F1770
monochromatic
#0C1A05 #244B0E #3C7F17 #54B320 #70DB36

Accessibility & contrast

On white

4.95
#3C7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3C7F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7F17
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7F17#FFFFFF#000000##FFFFFF
##3C7F171.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#387A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3c7f17;
/* rgb */ color: rgb(60, 127, 23);
/* oklch */ color: oklch(53.2% 0.150 137.3);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3c7f17',
    950: '#000000',
  },
}
SCSS
$custom: #3c7f17;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7f17",
  "rgb": {
    "r": 60,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 98.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.532,
    "c": 0.14988,
    "h": 137.3
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#3C7F17
secondary
#8A3EB4
accent
#3CECAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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