#3B5412#3B5412

#3B5412 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.1% C 0.096 H 128.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3B5412
RGBrgb(59, 84, 18)
HSLhsl(83, 65%, 20%)
HSVhsv(83, 79%, 33%)
CMYKcmyk(29.8%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.51, -20.72, 33.50)
CIE-LCHlch(32.51, 39.39, 121.74°)
OKLaboklab(41.12% -0.0592 0.075)
OKLCHoklch(41.12% 0.096 128.3)
XYZxyz(5.0831, 7.3140, 1.7161)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5412 #2B1254
analogous
#544C12 #3B5412 #1A5412
triadic
#3B5412 #123B54 #54123B
tetradic
#3B5412 #12544C #2B1254 #54121A
square
#3B5412 #12544C #2B1254 #54121A
split-complementary
#3B5412 #121A54 #4C1254
monochromatic
#121905 #182207 #3B5412 #5E861D #82B928

Accessibility & contrast

On white

8.53
#3B5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3B5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5412
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5412#FFFFFF#000000##FFFFFF
##3B54121.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E06
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#3D5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b5412;
/* rgb */ color: rgb(59, 84, 18);
/* oklch */ color: oklch(41.1% 0.096 128.3);
Tailwind
colors: {
  custom: {
    50: '#748455',
    500: '#3b5412',
    950: '#000000',
  },
}
SCSS
$custom: #3b5412;
$custom-light: #748455;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5412",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 82.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.09558,
    "h": 128.3
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#3B5412
secondary
#56358D
accent
#40E880
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5412

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

Preview Lab → · Contrast checker → · Palette generator →

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