#3C6512#3C6512

#3C6512 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.119 H 132.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3C6512
RGBrgb(60, 101, 18)
HSLhsl(90, 70%, 23%)
HSVhsv(90, 82%, 40%)
CMYKcmyk(40.6%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.40, -28.68, 39.20)
CIE-LCHlch(38.40, 48.57, 126.19°)
OKLaboklab(45.93% -0.0809 0.087)
OKLCHoklch(45.93% 0.119 132.9)
XYZxyz(6.6262, 10.3114, 2.2133)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C6512 #3B1265
analogous
#656412 #3C6512 #126512
triadic
#3C6512 #123C65 #65123C
tetradic
#3C6512 #126564 #3B1265 #651212
square
#3C6512 #126564 #3B1265 #651212
split-complementary
#3C6512 #121265 #641265
monochromatic
#0F1A05 #1D3109 #3C6512 #5B991B #7ACD25

Accessibility & contrast

On white

6.86
#3C6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3C6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C6512
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C6512#FFFFFF#000000##FFFFFF
##3C65121.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#3C6156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3c6512;
/* rgb */ color: rgb(60, 101, 18);
/* oklch */ color: oklch(45.9% 0.119 132.9);
Tailwind
colors: {
  custom: {
    50: '#769158',
    500: '#3c6512',
    950: '#000000',
  },
}
SCSS
$custom: #3c6512;
$custom-light: #769158;
$custom-dark: #000000;
JSON
{
  "hex": "#3c6512",
  "rgb": {
    "r": 60,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 89.639,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.11875,
    "h": 132.9
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#3C6512
secondary
#69369D
accent
#3BED93
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #3C6512

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

Preview Lab → · Contrast checker → · Palette generator →

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