#3B5111#3B5111

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

Color values

HEX#3B5111
RGBrgb(59, 81, 17)
HSLhsl(81, 65%, 19%)
HSVhsv(81, 79%, 32%)
CMYKcmyk(27.2%, 0%, 79%, 68.2%)
CIE-LABlab(31.47, -19.21, 32.89)
CIE-LCHlch(31.47, 38.09, 120.29°)
OKLaboklab(40.28% -0.0552 0.0736)
OKLCHoklch(40.28% 0.092 126.9)
XYZxyz(4.8473, 6.8550, 1.5980)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5111 #271151
analogous
#514711 #3B5111 #1B5111
triadic
#3B5111 #113B51 #51113B
tetradic
#3B5111 #115147 #271151 #51111B
square
#3B5111 #115147 #271151 #51111B
split-complementary
#3B5111 #111B51 #471151
monochromatic
#121905 #161E06 #3B5111 #60841C #85B626

Accessibility & contrast

On white

8.86
#3B5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B5111
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5111#FFFFFF#000000##FFFFFF
##3B51111.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#3E4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b5111;
/* rgb */ color: rgb(59, 81, 17);
/* oklch */ color: oklch(40.3% 0.092 126.9);
Tailwind
colors: {
  custom: {
    50: '#738254',
    500: '#3b5111',
    950: '#000000',
  },
}
SCSS
$custom: #3b5111;
$custom-light: #738254;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5111",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 80.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.09197,
    "h": 126.9
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#3B5111
secondary
#51348A
accent
#40E87A
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5111

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

Preview Lab → · Contrast checker → · Palette generator →

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