#3A591B#3A591B

#3A591B is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.096 H 132.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3A591B
RGBrgb(58, 89, 27)
HSLhsl(90, 53%, 23%)
HSVhsv(90, 70%, 35%)
CMYKcmyk(34.8%, 0%, 69.7%, 65.1%)
CIE-LABlab(34.24, -22.97, 31.22)
CIE-LCHlch(34.24, 38.76, 126.35°)
OKLaboklab(42.53% -0.0645 0.0717)
OKLCHoklch(42.53% 0.096 132)
XYZxyz(5.5151, 8.1232, 2.3141)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A591B #3A1B59
analogous
#59591B #3A591B #1B591B
triadic
#3A591B #1B3A59 #591B3A
tetradic
#3A591B #1B5959 #3A1B59 #591B1B
square
#3A591B #1B5959 #3A1B59 #591B1B
split-complementary
#3A591B #1B1B59 #591B59
monochromatic
#0F1707 #1B2A0D #3A591B #598829 #77B737

Accessibility & contrast

On white

8.00
#3A591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A591B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A591B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A591B#FFFFFF#000000##FFFFFF
##3A591B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#3B554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a591b;
/* rgb */ color: rgb(58, 89, 27);
/* oklch */ color: oklch(42.5% 0.096 132.0);
Tailwind
colors: {
  custom: {
    50: '#73885b',
    500: '#3a591b',
    950: '#000000',
  },
}
SCSS
$custom: #3a591b;
$custom-light: #73885b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a591b",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4253,
    "c": 0.09641,
    "h": 132
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#3A591B
secondary
#68418F
accent
#4BDD94
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A591B

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

Preview Lab → · Contrast checker → · Palette generator →

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