#3C7E17#3C7E17

#3C7E17 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.149 H 137.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3C7E17
RGBrgb(60, 126, 23)
HSLhsl(98, 69%, 29%)
HSVhsv(98, 82%, 49%)
CMYKcmyk(52.4%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.90, -39.25, 45.54)
CIE-LCHlch(46.90, 60.12, 130.76°)
OKLaboklab(52.92% -0.109 0.101)
OKLCHoklch(52.92% 0.149 137.2)
XYZxyz(9.4787, 15.9435, 3.3884)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7E17 #59177E
analogous
#707E17 #3C7E17 #177E26
triadic
#3C7E17 #173C7E #7E173C
tetradic
#3C7E17 #17707E #59177E #7E2617
square
#3C7E17 #17707E #59177E #7E2617
split-complementary
#3C7E17 #26177E #7E1770
monochromatic
#0C1A05 #234A0E #3C7E17 #55B220 #70DA35

Accessibility & contrast

On white

5.01
#3C7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3C7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7E17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7E17#FFFFFF#000000##FFFFFF
##3C7E171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#38796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3c7e17;
/* rgb */ color: rgb(60, 126, 23);
/* oklch */ color: oklch(52.9% 0.149 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a45e',
    500: '#3c7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3c7e17;
$custom-light: #79a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7e17",
  "rgb": {
    "r": 60,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 98.447,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.14863,
    "h": 137.2
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#3C7E17
secondary
#893EB3
accent
#3CECAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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