#3B5212#3B5212

#3B5212 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.093 H 127.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3B5212
RGBrgb(59, 82, 18)
HSLhsl(82, 64%, 20%)
HSVhsv(82, 78%, 32%)
CMYKcmyk(28%, 0%, 78%, 67.8%)
CIE-LABlab(31.83, -19.67, 32.81)
CIE-LCHlch(31.83, 38.26, 120.94°)
OKLaboklab(40.56% -0.0564 0.0736)
OKLCHoklch(40.56% 0.093 127.5)
XYZxyz(4.9301, 7.0080, 1.6651)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5212 #291252
analogous
#524912 #3B5212 #1B5212
triadic
#3B5212 #123B52 #52123B
tetradic
#3B5212 #125249 #291252 #52121B
square
#3B5212 #125249 #291252 #52121B
split-complementary
#3B5212 #121B52 #491252
monochromatic
#121906 #172007 #3B5212 #5F841D #83B628

Accessibility & contrast

On white

8.74
#3B5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3B5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5212
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5212#FFFFFF#000000##FFFFFF
##3B52121.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#3D4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b5212;
/* rgb */ color: rgb(59, 82, 18);
/* oklch */ color: oklch(40.6% 0.093 127.5);
Tailwind
colors: {
  custom: {
    50: '#738255',
    500: '#3b5212',
    950: '#000000',
  },
}
SCSS
$custom: #3b5212;
$custom-light: #738255;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5212",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 81.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.09269,
    "h": 127.5
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#3B5212
secondary
#54358B
accent
#41E77D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5212

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

Preview Lab → · Contrast checker → · Palette generator →

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