#3C7A12#3C7A12

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

Color values

HEX#3C7A12
RGBrgb(60, 122, 18)
HSLhsl(96, 74%, 27%)
HSVhsv(96, 85%, 48%)
CMYKcmyk(50.8%, 0%, 85.2%, 52.2%)
CIE-LABlab(45.53, -37.89, 45.80)
CIE-LCHlch(45.53, 59.44, 129.60°)
OKLaboklab(51.79% -0.1056 0.1008)
OKLCHoklch(51.79% 0.146 136.3)
XYZxyz(8.9319, 14.9228, 2.9819)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7A12 #50127A
analogous
#707A12 #3C7A12 #127A1C
triadic
#3C7A12 #123C7A #7A123C
tetradic
#3C7A12 #12707A #50127A #7A1C12
square
#3C7A12 #12707A #50127A #7A1C12
split-complementary
#3C7A12 #1C127A #7A1270
monochromatic
#0D1B04 #22450A #3C7A12 #56AF1A #72DF27

Accessibility & contrast

On white

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

On black

3.98
#3C7A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3C7A12#FFFFFF#000000##FFFFFF
##3C7A121.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#397567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3c7a12;
/* rgb */ color: rgb(60, 122, 18);
/* oklch */ color: oklch(51.8% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#79a15b',
    500: '#3c7a12',
    950: '#000000',
  },
}
SCSS
$custom: #3c7a12;
$custom-light: #79a15b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7a12",
  "rgb": {
    "r": 60,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 95.769,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.146,
    "h": 136.3
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#3C7A12
secondary
#7F38B0
accent
#37F1A6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3C7A12

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

Preview Lab → · Contrast checker → · Palette generator →

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