#3B5712#3B5712

#3B5712 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.100 H 129.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3B5712
RGBrgb(59, 87, 18)
HSLhsl(84, 66%, 21%)
HSVhsv(84, 79%, 34%)
CMYKcmyk(32.2%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.54, -22.27, 34.51)
CIE-LCHlch(33.54, 41.07, 122.83°)
OKLaboklab(41.96% -0.0634 0.0771)
OKLCHoklch(41.96% 0.1 129.4)
XYZxyz(5.3210, 7.7897, 1.7954)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5712 #2E1257
analogous
#575012 #3B5712 #185712
triadic
#3B5712 #123B57 #57123B
tetradic
#3B5712 #125750 #2E1257 #571218
square
#3B5712 #125750 #2E1257 #571218
split-complementary
#3B5712 #121857 #501257
monochromatic
#111905 #192408 #3B5712 #5D8A1C #80BC27

Accessibility & contrast

On white

8.21
#3B5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3B5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5712
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5712#FFFFFF#000000##FFFFFF
##3B57121.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#3D534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3b5712;
/* rgb */ color: rgb(59, 87, 18);
/* oklch */ color: oklch(42.0% 0.100 129.4);
Tailwind
colors: {
  custom: {
    50: '#748655',
    500: '#3b5712',
    950: '#000000',
  },
}
SCSS
$custom: #3b5712;
$custom-light: #748655;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5712",
  "rgb": {
    "r": 59,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 84.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.09988,
    "h": 129.4
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#3B5712
secondary
#5A3590
accent
#3FE984
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5712

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

Preview Lab → · Contrast checker → · Palette generator →

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