#3B5311#3B5311

#3B5311 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.095 H 127.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3B5311
RGBrgb(59, 83, 17)
HSLhsl(82, 66%, 20%)
HSVhsv(82, 80%, 33%)
CMYKcmyk(28.9%, 0%, 79.5%, 67.5%)
CIE-LABlab(32.16, -20.27, 33.56)
CIE-LCHlch(32.16, 39.21, 121.13°)
OKLaboklab(40.83% -0.0581 0.075)
OKLCHoklch(40.83% 0.095 127.8)
XYZxyz(4.9981, 7.1567, 1.6483)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5311 #291153
analogous
#534A11 #3B5311 #1A5311
triadic
#3B5311 #113B53 #53113B
tetradic
#3B5311 #11534A #291153 #53111A
square
#3B5311 #11534A #291153 #53111A
split-complementary
#3B5311 #111A53 #4A1153
monochromatic
#121905 #172007 #3B5311 #5F861B #83B926

Accessibility & contrast

On white

8.64
#3B5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3B5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5311
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5311#FFFFFF#000000##FFFFFF
##3B53111.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#3D4F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b5311;
/* rgb */ color: rgb(59, 83, 17);
/* oklch */ color: oklch(40.8% 0.095 127.8);
Tailwind
colors: {
  custom: {
    50: '#748354',
    500: '#3b5311',
    950: '#000000',
  },
}
SCSS
$custom: #3b5311;
$custom-light: #748354;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5311",
  "rgb": {
    "r": 59,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 81.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40832,
    "c": 0.09484,
    "h": 127.8
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#3B5311
secondary
#54348C
accent
#3FE97D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5311

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

Preview Lab → · Contrast checker → · Palette generator →

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