#3B5115#3B5115

#3B5115 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.089 H 127.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3B5115
RGBrgb(59, 81, 21)
HSLhsl(82, 59%, 20%)
HSVhsv(82, 74%, 32%)
CMYKcmyk(27.2%, 0%, 74.1%, 68.2%)
CIE-LABlab(31.51, -18.91, 31.17)
CIE-LCHlch(31.51, 36.46, 121.25°)
OKLaboklab(40.31% -0.054 0.0706)
OKLCHoklch(40.31% 0.089 127.4)
XYZxyz(4.8814, 6.8687, 1.7779)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5115 #2B1551
analogous
#514915 #3B5115 #1D5115
triadic
#3B5115 #153B51 #51153B
tetradic
#3B5115 #155149 #2B1551 #51151D
square
#3B5115 #155149 #2B1551 #51151D
split-complementary
#3B5115 #151D51 #491551
monochromatic
#121806 #182008 #3B5115 #5E8222 #82B22E

Accessibility & contrast

On white

8.85
#3B5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3B5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5115
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5115#FFFFFF#000000##FFFFFF
##3B51151.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#3D4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b5115;
/* rgb */ color: rgb(59, 81, 21);
/* oklch */ color: oklch(40.3% 0.089 127.4);
Tailwind
colors: {
  custom: {
    50: '#738256',
    500: '#3b5115',
    950: '#000000',
  },
}
SCSS
$custom: #3b5115;
$custom-light: #738256;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5115",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 82,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.08892,
    "h": 127.4
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#3B5115
secondary
#563989
accent
#46E27F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5115

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

Preview Lab → · Contrast checker → · Palette generator →

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