#3C7D17#3C7D17

#3C7D17 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.6% C 0.147 H 137.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3C7D17
RGBrgb(60, 125, 23)
HSLhsl(98, 69%, 29%)
HSVhsv(98, 82%, 49%)
CMYKcmyk(52%, 0%, 81.6%, 51%)
CIE-LABlab(46.56, -38.85, 45.22)
CIE-LCHlch(46.56, 59.62, 130.66°)
OKLaboklab(52.65% -0.1079 0.1004)
OKLCHoklch(52.65% 0.147 137.1)
XYZxyz(9.3515, 15.6891, 3.3460)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7D17 #58177D
analogous
#6F7D17 #3C7D17 #177D25
triadic
#3C7D17 #173C7D #7D173C
tetradic
#3C7D17 #176F7D #58177D #7D2517
square
#3C7D17 #176F7D #58177D #7D2517
split-complementary
#3C7D17 #25177D #7D176F
monochromatic
#0C1A05 #23490D #3C7D17 #55B121 #71DA35

Accessibility & contrast

On white

5.07
#3C7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3C7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7D17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7D17#FFFFFF#000000##FFFFFF
##3C7D171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#38786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3c7d17;
/* rgb */ color: rgb(60, 125, 23);
/* oklch */ color: oklch(52.6% 0.147 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a35d',
    500: '#3c7d17',
    950: '#000000',
  },
}
SCSS
$custom: #3c7d17;
$custom-light: #79a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7d17",
  "rgb": {
    "r": 60,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 98.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.14737,
    "h": 137.1
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#3C7D17
secondary
#883EB2
accent
#3CECAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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