#3C7F12#3C7F12

#3C7F12 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.152 H 136.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3C7F12
RGBrgb(60, 127, 18)
HSLhsl(97, 75%, 28%)
HSVhsv(97, 86%, 50%)
CMYKcmyk(52.8%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.21, -39.93, 47.32)
CIE-LCHlch(47.21, 61.91, 130.16°)
OKLaboklab(53.17% -0.1111 0.104)
OKLCHoklch(53.17% 0.152 136.9)
XYZxyz(9.5617, 16.1824, 3.1918)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7F12 #55127F
analogous
#727F12 #3C7F12 #127F1F
triadic
#3C7F12 #123C7F #7F123C
tetradic
#3C7F12 #12727F #55127F #7F1F12
square
#3C7F12 #12727F #55127F #7F1F12
split-complementary
#3C7F12 #1F127F #7F1272
monochromatic
#0D1B04 #23490A #3C7F12 #55B51A #71E12B

Accessibility & contrast

On white

4.96
#3C7F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3C7F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7F12
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7F12#FFFFFF#000000##FFFFFF
##3C7F121.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#387A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3c7f12;
/* rgb */ color: rgb(60, 127, 18);
/* oklch */ color: oklch(53.2% 0.152 136.9);
Tailwind
colors: {
  custom: {
    50: '#7aa55c',
    500: '#3c7f12',
    950: '#000000',
  },
}
SCSS
$custom: #3c7f12;
$custom-light: #7aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7f12",
  "rgb": {
    "r": 60,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 96.881,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.15217,
    "h": 136.9
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#3C7F12
secondary
#8538B5
accent
#36F2A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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