#3C8012#3C8012

#3C8012 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.153 H 137.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3C8012
RGBrgb(60, 128, 18)
HSLhsl(97, 75%, 29%)
HSVhsv(97, 86%, 50%)
CMYKcmyk(53.1%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.55, -40.33, 47.62)
CIE-LCHlch(47.55, 62.40, 130.26°)
OKLaboklab(53.45% -0.1122 0.1046)
OKLCHoklch(53.45% 0.153 137)
XYZxyz(9.6915, 16.4420, 3.2351)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8012 #561280
analogous
#738012 #3C8012 #12801F
triadic
#3C8012 #123C80 #80123C
tetradic
#3C8012 #127380 #561280 #801F12
square
#3C8012 #127380 #561280 #801F12
split-complementary
#3C8012 #1F1280 #801273
monochromatic
#0D1B04 #234A0A #3C8012 #55B61A #71E12B

Accessibility & contrast

On white

4.90
#3C8012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3C8012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8012
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8012#FFFFFF#000000##FFFFFF
##3C80121.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#387B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3c8012;
/* rgb */ color: rgb(60, 128, 18);
/* oklch */ color: oklch(53.4% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa55c',
    500: '#3c8012',
    950: '#000000',
  },
}
SCSS
$custom: #3c8012;
$custom-light: #7aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8012",
  "rgb": {
    "r": 60,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 97.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.15339,
    "h": 137
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#3C8012
secondary
#8638B6
accent
#36F2AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C8012

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

Preview Lab → · Contrast checker → · Palette generator →

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