#3C7212#3C7212

#3C7212 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.136 H 135.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3C7212
RGBrgb(60, 114, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 84%, 45%)
CMYKcmyk(47.4%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.82, -34.51, 43.33)
CIE-LCHlch(42.82, 55.39, 128.54°)
OKLaboklab(49.56% -0.0966 0.0956)
OKLCHoklch(49.56% 0.136 135.3)
XYZxyz(7.9898, 13.0385, 2.6678)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7212 #481272
analogous
#6C7212 #3C7212 #127218
triadic
#3C7212 #123C72 #72123C
tetradic
#3C7212 #126C72 #481272 #721812
square
#3C7212 #126C72 #481272 #721812
split-complementary
#3C7212 #181272 #72126C
monochromatic
#0E1A04 #203D0A #3C7212 #58A71A #74DC23

Accessibility & contrast

On white

5.82
#3C7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3C7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7212
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7212#FFFFFF#000000##FFFFFF
##3C72121.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F641D
Tritanopia (blue-blind)
#3A6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3c7212;
/* rgb */ color: rgb(60, 114, 18);
/* oklch */ color: oklch(49.6% 0.136 135.3);
Tailwind
colors: {
  custom: {
    50: '#789b5a',
    500: '#3c7212',
    950: '#000000',
  },
}
SCSS
$custom: #3c7212;
$custom-light: #789b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7212",
  "rgb": {
    "r": 60,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 93.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.13589,
    "h": 135.3
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#3C7212
secondary
#7737A9
accent
#38EF9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7212

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

Preview Lab → · Contrast checker → · Palette generator →

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