#3B581B#3B581B

#3B581B is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.3% C 0.094 H 131.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3B581B
RGBrgb(59, 88, 27)
HSLhsl(89, 53%, 23%)
HSVhsv(89, 69%, 35%)
CMYKcmyk(33%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.96, -22.05, 30.93)
CIE-LCHlch(33.96, 37.99, 125.48°)
OKLaboklab(42.32% -0.062 0.0711)
OKLCHoklch(42.32% 0.094 131.1)
XYZxyz(5.4911, 7.9882, 2.2893)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B581B #381B58
analogous
#58571B #3B581B #1C581B
triadic
#3B581B #1B3B58 #581B3B
tetradic
#3B581B #1B5857 #381B58 #581B1C
square
#3B581B #1B5857 #381B58 #581B1C
split-complementary
#3B581B #1B1C58 #571B58
monochromatic
#101707 #1C290D #3B581B #5A8729 #7AB638

Accessibility & contrast

On white

8.08
#3B581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3B581B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B581B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B581B#FFFFFF#000000##FFFFFF
##3B581B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#3C544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b581b;
/* rgb */ color: rgb(59, 88, 27);
/* oklch */ color: oklch(42.3% 0.094 131.1);
Tailwind
colors: {
  custom: {
    50: '#73875b',
    500: '#3b581b',
    950: '#000000',
  },
}
SCSS
$custom: #3b581b;
$custom-light: #73875b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b581b",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 88.525,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.09431,
    "h": 131.1
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#3B581B
secondary
#66418E
accent
#4BDC90
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3B581B

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

Preview Lab → · Contrast checker → · Palette generator →

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