#3C510F#3C510F

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

Color values

HEX#3C510F
RGBrgb(60, 81, 15)
HSLhsl(79, 69%, 19%)
HSVhsv(79, 81%, 32%)
CMYKcmyk(25.9%, 0%, 81.5%, 68.2%)
CIE-LABlab(31.53, -18.89, 33.77)
CIE-LCHlch(31.53, 38.70, 119.22°)
OKLaboklab(40.34% -0.0546 0.075)
OKLCHoklch(40.34% 0.093 126)
XYZxyz(4.8922, 6.8799, 1.5221)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C510F #240F51
analogous
#51450F #3C510F #1B510F
triadic
#3C510F #0F3C51 #510F3C
tetradic
#3C510F #0F5145 #240F51 #510F1B
square
#3C510F #0F5145 #240F51 #510F1B
split-complementary
#3C510F #0F1B51 #450F51
monochromatic
#131A05 #161D05 #3C510F #628519 #89B822

Accessibility & contrast

On white

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

On black

2.38
#3C510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3C510F#FFFFFF#000000##FFFFFF
##3C510F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c510f;
/* rgb */ color: rgb(60, 81, 15);
/* oklch */ color: oklch(40.3% 0.093 126.0);
Tailwind
colors: {
  custom: {
    50: '#748253',
    500: '#3c510f',
    950: '#000000',
  },
}
SCSS
$custom: #3c510f;
$custom-light: #748253;
$custom-dark: #000000;
JSON
{
  "hex": "#3c510f",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 79.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.09277,
    "h": 126
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#3C510F
secondary
#4D318B
accent
#3CEC74
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C510F

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

Preview Lab → · Contrast checker → · Palette generator →

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