#3C7312#3C7312

#3C7312 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.8% C 0.137 H 135.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3C7312
RGBrgb(60, 115, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 84%, 45%)
CMYKcmyk(47.8%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.16, -34.94, 43.64)
CIE-LCHlch(43.16, 55.90, 128.68°)
OKLaboklab(49.84% -0.0977 0.0963)
OKLCHoklch(49.84% 0.137 135.4)
XYZxyz(8.1032, 13.2653, 2.7056)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7312 #491273
analogous
#6C7312 #3C7312 #127319
triadic
#3C7312 #123C73 #73123C
tetradic
#3C7312 #126C73 #491273 #731912
square
#3C7312 #126C73 #491273 #731912
split-complementary
#3C7312 #191273 #73126C
monochromatic
#0E1A04 #203E0A #3C7312 #58A81A #73DD23

Accessibility & contrast

On white

5.75
#3C7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3C7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7312
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7312#FFFFFF#000000##FFFFFF
##3C73121.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#3A6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c7312;
/* rgb */ color: rgb(60, 115, 18);
/* oklch */ color: oklch(49.8% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#789c5a',
    500: '#3c7312',
    950: '#000000',
  },
}
SCSS
$custom: #3c7312;
$custom-light: #789c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7312",
  "rgb": {
    "r": 60,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 94.021,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.13717,
    "h": 135.4
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#3C7312
secondary
#7837AA
accent
#38F0A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7312

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

Preview Lab → · Contrast checker → · Palette generator →

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