#3C7012#3C7012

#3C7012 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.133 H 135.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3C7012
RGBrgb(60, 112, 18)
HSLhsl(93, 72%, 25%)
HSVhsv(93, 84%, 44%)
CMYKcmyk(46.4%, 0%, 83.9%, 56.1%)
CIE-LABlab(42.14, -33.64, 42.70)
CIE-LCHlch(42.14, 54.36, 128.23°)
OKLaboklab(49% -0.0942 0.0943)
OKLCHoklch(49% 0.133 135)
XYZxyz(7.7667, 12.5922, 2.5934)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7012 #461270
analogous
#6B7012 #3C7012 #127017
triadic
#3C7012 #123C70 #70123C
tetradic
#3C7012 #126B70 #461270 #701712
square
#3C7012 #126B70 #461270 #701712
split-complementary
#3C7012 #171270 #70126B
monochromatic
#0E1A04 #203B0A #3C7012 #58A51A #74D923

Accessibility & contrast

On white

5.97
#3C7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3C7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7012
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7012#FFFFFF#000000##FFFFFF
##3C70121.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#3B6B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3c7012;
/* rgb */ color: rgb(60, 112, 18);
/* oklch */ color: oklch(49.0% 0.133 135.0);
Tailwind
colors: {
  custom: {
    50: '#779959',
    500: '#3c7012',
    950: '#000000',
  },
}
SCSS
$custom: #3c7012;
$custom-light: #779959;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7012",
  "rgb": {
    "r": 60,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 93.191,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.13331,
    "h": 135
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#3C7012
secondary
#7537A7
accent
#39EF9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7012

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

Preview Lab → · Contrast checker → · Palette generator →

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