#3C7C12#3C7C12

#3C7C12 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.148 H 136.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3C7C12
RGBrgb(60, 124, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 85%, 49%)
CMYKcmyk(51.6%, 0%, 85.5%, 51.4%)
CIE-LABlab(46.20, -38.71, 46.41)
CIE-LCHlch(46.20, 60.43, 129.83°)
OKLaboklab(52.34% -0.1078 0.1021)
OKLCHoklch(52.34% 0.148 136.6)
XYZxyz(9.1800, 15.4190, 3.0646)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7C12 #52127C
analogous
#717C12 #3C7C12 #127C1D
triadic
#3C7C12 #123C7C #7C123C
tetradic
#3C7C12 #12717C #52127C #7C1D12
square
#3C7C12 #12717C #52127C #7C1D12
split-complementary
#3C7C12 #1D127C #7C1271
monochromatic
#0D1B04 #22470A #3C7C12 #56B11A #71E029

Accessibility & contrast

On white

5.14
#3C7C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3C7C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7C12
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7C12#FFFFFF#000000##FFFFFF
##3C7C121.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#387769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3c7c12;
/* rgb */ color: rgb(60, 124, 18);
/* oklch */ color: oklch(52.3% 0.148 136.6);
Tailwind
colors: {
  custom: {
    50: '#79a25b',
    500: '#3c7c12',
    950: '#000000',
  },
}
SCSS
$custom: #3c7c12;
$custom-light: #79a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7c12",
  "rgb": {
    "r": 60,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 96.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.14848,
    "h": 136.6
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#3C7C12
secondary
#8238B2
accent
#37F1A7
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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