#3B5612#3B5612

#3B5612 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.7% C 0.098 H 129.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3B5612
RGBrgb(59, 86, 18)
HSLhsl(84, 65%, 20%)
HSVhsv(84, 79%, 34%)
CMYKcmyk(31.4%, 0%, 79.1%, 66.3%)
CIE-LABlab(33.20, -21.75, 34.17)
CIE-LCHlch(33.20, 40.51, 122.48°)
OKLaboklab(41.68% -0.062 0.0764)
OKLCHoklch(41.68% 0.098 129.1)
XYZxyz(5.2406, 7.6289, 1.7686)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5612 #2D1256
analogous
#564F12 #3B5612 #195612
triadic
#3B5612 #123B56 #56123B
tetradic
#3B5612 #12564F #2D1256 #561219
square
#3B5612 #12564F #2D1256 #561219
split-complementary
#3B5612 #121956 #4F1256
monochromatic
#111905 #182307 #3B5612 #5E891D #80BB27

Accessibility & contrast

On white

8.31
#3B5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3B5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5612
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5612#FFFFFF#000000##FFFFFF
##3B56121.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#3D5249
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3b5612;
/* rgb */ color: rgb(59, 86, 18);
/* oklch */ color: oklch(41.7% 0.098 129.1);
Tailwind
colors: {
  custom: {
    50: '#748555',
    500: '#3b5612',
    950: '#000000',
  },
}
SCSS
$custom: #3b5612;
$custom-light: #748555;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5612",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 83.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.09845,
    "h": 129.1
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#3B5612
secondary
#59358F
accent
#3FE883
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5612

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

Preview Lab → · Contrast checker → · Palette generator →

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