#3A581B#3A581B

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

Color values

HEX#3A581B
RGBrgb(58, 88, 27)
HSLhsl(90, 53%, 23%)
HSVhsv(90, 69%, 35%)
CMYKcmyk(34.1%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.90, -22.47, 30.85)
CIE-LCHlch(33.90, 38.16, 126.06°)
OKLaboklab(42.25% -0.0631 0.0709)
OKLCHoklch(42.25% 0.095 131.7)
XYZxyz(5.4324, 7.9579, 2.2865)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581B #391B58
analogous
#58571B #3A581B #1C581B
triadic
#3A581B #1B3A58 #581B3A
tetradic
#3A581B #1B5857 #391B58 #581B1C
square
#3A581B #1B5857 #391B58 #581B1C
split-complementary
#3A581B #1B1C58 #571B58
monochromatic
#0F1707 #1B290D #3A581B #598729 #78B638

Accessibility & contrast

On white

8.10
#3A581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A581B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A581B#FFFFFF#000000##FFFFFF
##3A581B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a581b;
/* rgb */ color: rgb(58, 88, 27);
/* oklch */ color: oklch(42.3% 0.095 131.7);
Tailwind
colors: {
  custom: {
    50: '#73875b',
    500: '#3a581b',
    950: '#000000',
  },
}
SCSS
$custom: #3a581b;
$custom-light: #73875b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581b",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 89.508,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.09491,
    "h": 131.7
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#3A581B
secondary
#67418E
accent
#4BDC93
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581B

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

Preview Lab → · Contrast checker → · Palette generator →

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