#3C7B17#3C7B17

#3C7B17 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.145 H 136.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3C7B17
RGBrgb(60, 123, 23)
HSLhsl(98, 68%, 29%)
HSVhsv(98, 81%, 48%)
CMYKcmyk(51.2%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.89, -38.02, 44.59)
CIE-LCHlch(45.89, 58.60, 130.46°)
OKLaboklab(52.09% -0.1057 0.099)
OKLCHoklch(52.09% 0.145 136.9)
XYZxyz(9.1008, 15.1878, 3.2624)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7B17 #56177B
analogous
#6E7B17 #3C7B17 #177B24
triadic
#3C7B17 #173C7B #7B173C
tetradic
#3C7B17 #176E7B #56177B #7B2417
square
#3C7B17 #176E7B #56177B #7B2417
split-complementary
#3C7B17 #24177B #7B176E
monochromatic
#0D1A05 #23470D #3C7B17 #55AF21 #71D933

Accessibility & contrast

On white

5.20
#3C7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3C7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7B17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7B17#FFFFFF#000000##FFFFFF
##3C7B171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#387668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3c7b17;
/* rgb */ color: rgb(60, 123, 23);
/* oklch */ color: oklch(52.1% 0.145 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a25d',
    500: '#3c7b17',
    950: '#000000',
  },
}
SCSS
$custom: #3c7b17;
$custom-light: #79a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7b17",
  "rgb": {
    "r": 60,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 97.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.14484,
    "h": 136.9
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#3C7B17
secondary
#863EB0
accent
#3CEBAB
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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