#3C7A16#3C7A16

#3C7A16 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.144 H 136.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3C7A16
RGBrgb(60, 122, 22)
HSLhsl(97, 69%, 28%)
HSVhsv(97, 82%, 48%)
CMYKcmyk(50.8%, 0%, 82%, 52.2%)
CIE-LABlab(45.55, -37.67, 44.59)
CIE-LCHlch(45.55, 58.37, 130.19°)
OKLaboklab(51.81% -0.1048 0.0989)
OKLCHoklch(51.81% 0.144 136.7)
XYZxyz(8.9676, 14.9370, 3.1695)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7A16 #54167A
analogous
#6E7A16 #3C7A16 #167A22
triadic
#3C7A16 #163C7A #7A163C
tetradic
#3C7A16 #166E7A #54167A #7A2216
square
#3C7A16 #166E7A #54167A #7A2216
split-complementary
#3C7A16 #22167A #7A166E
monochromatic
#0D1A05 #22460D #3C7A16 #55AE1F #71DA31

Accessibility & contrast

On white

5.27
#3C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3C7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7A16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7A16#FFFFFF#000000##FFFFFF
##3C7A161.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#397568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3c7a16;
/* rgb */ color: rgb(60, 122, 22);
/* oklch */ color: oklch(51.8% 0.144 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a15d',
    500: '#3c7a16',
    950: '#000000',
  },
}
SCSS
$custom: #3c7a16;
$custom-light: #79a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7a16",
  "rgb": {
    "r": 60,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 97.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.1441,
    "h": 136.7
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#3C7A16
secondary
#843DAF
accent
#3CECA9
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3C7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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