#3B5811#3B5811

#3B5811 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.102 H 129.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3B5811
RGBrgb(59, 88, 17)
HSLhsl(85, 68%, 21%)
HSVhsv(85, 81%, 35%)
CMYKcmyk(33%, 0%, 80.7%, 65.5%)
CIE-LABlab(33.88, -22.84, 35.23)
CIE-LCHlch(33.88, 41.99, 122.95°)
OKLaboklab(42.23% -0.0651 0.0785)
OKLCHoklch(42.23% 0.102 129.7)
XYZxyz(5.3945, 7.9496, 1.7804)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5811 #2E1158
analogous
#585111 #3B5811 #175811
triadic
#3B5811 #113B58 #58113B
tetradic
#3B5811 #115851 #2E1158 #581117
square
#3B5811 #115851 #2E1158 #581117
split-complementary
#3B5811 #111758 #511158
monochromatic
#111A05 #192507 #3B5811 #5D8B1B #80BF25

Accessibility & contrast

On white

8.11
#3B5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3B5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5811
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5811#FFFFFF#000000##FFFFFF
##3B58111.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#3D544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b5811;
/* rgb */ color: rgb(59, 88, 17);
/* oklch */ color: oklch(42.2% 0.102 129.7);
Tailwind
colors: {
  custom: {
    50: '#748755',
    500: '#3b5811',
    950: '#000000',
  },
}
SCSS
$custom: #3b5811;
$custom-light: #748755;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5811",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 84.507,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.10195,
    "h": 129.7
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#3B5811
secondary
#5A3491
accent
#3DEA84
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5811

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

Preview Lab → · Contrast checker → · Palette generator →

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