#3B5211#3B5211

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

Color values

HEX#3B5211
RGBrgb(59, 82, 17)
HSLhsl(81, 66%, 19%)
HSVhsv(81, 79%, 32%)
CMYKcmyk(28%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.82, -19.74, 33.22)
CIE-LCHlch(31.82, 38.65, 120.72°)
OKLaboklab(40.55% -0.0566 0.0743)
OKLCHoklch(40.55% 0.093 127.3)
XYZxyz(4.9221, 7.0048, 1.6229)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5211 #281152
analogous
#524911 #3B5211 #1A5211
triadic
#3B5211 #113B52 #52113B
tetradic
#3B5211 #115249 #281152 #52111A
square
#3B5211 #115249 #281152 #52111A
split-complementary
#3B5211 #111A52 #491152
monochromatic
#121905 #171F06 #3B5211 #5F851C #84B726

Accessibility & contrast

On white

8.75
#3B5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B5211
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5211#FFFFFF#000000##FFFFFF
##3B52111.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#3E4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b5211;
/* rgb */ color: rgb(59, 82, 17);
/* oklch */ color: oklch(40.6% 0.093 127.3);
Tailwind
colors: {
  custom: {
    50: '#738254',
    500: '#3b5211',
    950: '#000000',
  },
}
SCSS
$custom: #3b5211;
$custom-light: #738254;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5211",
  "rgb": {
    "r": 59,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 81.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.0934,
    "h": 127.3
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#3B5211
secondary
#53348B
accent
#3FE97B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5211

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

Preview Lab → · Contrast checker → · Palette generator →

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