#3C4012#3C4012

#3C4012 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.7% C 0.066 H 114.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3C4012
RGBrgb(60, 64, 18)
HSLhsl(65, 56%, 16%)
HSVhsv(65, 72%, 25%)
CMYKcmyk(6.2%, 0%, 71.9%, 74.9%)
CIE-LABlab(25.78, -9.01, 26.63)
CIE-LCHlch(25.78, 28.12, 108.69°)
OKLaboklab(35.7% -0.0269 0.0606)
OKLCHoklch(35.7% 0.066 114)
XYZxyz(3.8062, 4.6712, 1.2733)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4012 #161240
analogous
#402D12 #3C4012 #254012
triadic
#3C4012 #123C40 #40123C
tetradic
#3C4012 #12402D #161240 #401225
square
#3C4012 #12402D #161240 #401225
split-complementary
#3C4012 #122540 #2D1240
monochromatic
#161807 #161807 #3C4012 #69701F #96A02D

Accessibility & contrast

On white

10.86
#3C4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4012
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4012#FFFFFF#000000##FFFFFF
##3C40121.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0C
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#403C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c4012;
/* rgb */ color: rgb(60, 64, 18);
/* oklch */ color: oklch(35.7% 0.066 114.0);
Tailwind
colors: {
  custom: {
    50: '#737452',
    500: '#3c4012',
    950: '#000000',
  },
}
SCSS
$custom: #3c4012;
$custom-light: #737452;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4012",
  "rgb": {
    "r": 60,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 65.217,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35704,
    "c": 0.06628,
    "h": 114
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#3C4012
secondary
#3B3579
accent
#48DF56
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3C4012

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

Preview Lab → · Contrast checker → · Palette generator →

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