#3C510C#3C510C

#3C510C is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.095 H 125.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3C510C
RGBrgb(60, 81, 12)
HSLhsl(78, 74%, 18%)
HSVhsv(78, 85%, 32%)
CMYKcmyk(25.9%, 0%, 85.2%, 68.2%)
CIE-LABlab(31.51, -19.06, 34.87)
CIE-LCHlch(31.51, 39.74, 118.66°)
OKLaboklab(40.32% -0.0553 0.0768)
OKLCHoklch(40.32% 0.095 125.8)
XYZxyz(4.8723, 6.8720, 1.4175)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C510C #210C51
analogous
#51430C #3C510C #19510C
triadic
#3C510C #0C3C51 #510C3C
tetradic
#3C510C #0C5143 #210C51 #510C19
square
#3C510C #0C5143 #210C51 #510C19
split-complementary
#3C510C #0C1951 #430C51
monochromatic
#141B04 #151C04 #3C510C #638614 #8BBC1C

Accessibility & contrast

On white

8.84
#3C510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3C510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C510C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C510C#FFFFFF#000000##FFFFFF
##3C510C1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#3F4D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c510c;
/* rgb */ color: rgb(60, 81, 12);
/* oklch */ color: oklch(40.3% 0.095 125.8);
Tailwind
colors: {
  custom: {
    50: '#748252',
    500: '#3c510c',
    950: '#000000',
  },
}
SCSS
$custom: #3c510c;
$custom-light: #748252;
$custom-dark: #000000;
JSON
{
  "hex": "#3c510c",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 78.261,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.09463,
    "h": 125.8
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#3C510C
secondary
#4A2C8C
accent
#37F170
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3C510C

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

Preview Lab → · Contrast checker → · Palette generator →

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