#3A581D#3A581D

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

Color values

HEX#3A581D
RGBrgb(58, 88, 29)
HSLhsl(91, 50%, 23%)
HSVhsv(91, 67%, 35%)
CMYKcmyk(34.1%, 0%, 67%, 65.5%)
CIE-LABlab(33.92, -22.27, 29.89)
CIE-LCHlch(33.92, 37.27, 126.69°)
OKLaboklab(42.27% -0.0624 0.0691)
OKLCHoklch(42.27% 0.093 132.1)
XYZxyz(5.4563, 7.9675, 2.4126)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581D #3B1D58
analogous
#57581D #3A581D #1D581D
triadic
#3A581D #1D3A58 #581D3A
tetradic
#3A581D #1D5758 #3B1D58 #581D1D
square
#3A581D #1D5758 #3B1D58 #581D1D
split-complementary
#3A581D #1D1D58 #581D57
monochromatic
#0F1708 #1C2A0E #3A581D #58862C #77B43B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A581D#FFFFFF#000000##FFFFFF
##3A581D1.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)
#5C5116
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#3B544C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a581d;
/* rgb */ color: rgb(58, 88, 29);
/* oklch */ color: oklch(42.3% 0.093 132.1);
Tailwind
colors: {
  custom: {
    50: '#73875c',
    500: '#3a581d',
    950: '#000000',
  },
}
SCSS
$custom: #3a581d;
$custom-light: #73875c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581d",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 90.508,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.0931,
    "h": 132.1
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#3A581D
secondary
#69448D
accent
#4EDA95
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581D

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

Preview Lab → · Contrast checker → · Palette generator →

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