#3C7412#3C7412

#3C7412 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.138 H 135.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3C7412
RGBrgb(60, 116, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 84%, 45%)
CMYKcmyk(48.3%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.50, -35.37, 43.95)
CIE-LCHlch(43.50, 56.41, 128.83°)
OKLaboklab(50.12% -0.0989 0.0969)
OKLCHoklch(50.12% 0.138 135.6)
XYZxyz(8.2179, 13.4946, 2.7438)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7412 #4A1274
analogous
#6D7412 #3C7412 #127419
triadic
#3C7412 #123C74 #74123C
tetradic
#3C7412 #126D74 #4A1274 #741912
square
#3C7412 #126D74 #4A1274 #741912
split-complementary
#3C7412 #191274 #74126D
monochromatic
#0E1A04 #213F0A #3C7412 #57A91A #73DD23

Accessibility & contrast

On white

5.68
#3C7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3C7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7412
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7412#FFFFFF#000000##FFFFFF
##3C74121.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#3A6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3c7412;
/* rgb */ color: rgb(60, 116, 18);
/* oklch */ color: oklch(50.1% 0.138 135.6);
Tailwind
colors: {
  custom: {
    50: '#789c5a',
    500: '#3c7412',
    950: '#000000',
  },
}
SCSS
$custom: #3c7412;
$custom-light: #789c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7412",
  "rgb": {
    "r": 60,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.13844,
    "h": 135.6
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#3C7412
secondary
#7937AB
accent
#38F0A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7412

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

Preview Lab → · Contrast checker → · Palette generator →

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