#3A581F#3A581F

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

Color values

HEX#3A581F
RGBrgb(58, 88, 31)
HSLhsl(92, 48%, 23%)
HSVhsv(92, 65%, 35%)
CMYKcmyk(34.1%, 0%, 64.8%, 65.5%)
CIE-LABlab(33.94, -22.06, 28.90)
CIE-LCHlch(33.94, 36.36, 127.36°)
OKLaboklab(42.3% -0.0616 0.0673)
OKLCHoklch(42.3% 0.091 132.5)
XYZxyz(5.4819, 7.9777, 2.5471)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581F #3D1F58
analogous
#56581F #3A581F #1F5820
triadic
#3A581F #1F3A58 #581F3A
tetradic
#3A581F #1F5658 #3D1F58 #58201F
square
#3A581F #1F5658 #3D1F58 #58201F
split-complementary
#3A581F #201F58 #581F56
monochromatic
#0F1708 #1C2B0F #3A581F #58852F #76B33F

Accessibility & contrast

On white

8.09
#3A581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A581F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A581F#FFFFFF#000000##FFFFFF
##3A581F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#3B544C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a581f;
/* rgb */ color: rgb(58, 88, 31);
/* oklch */ color: oklch(42.3% 0.091 132.5);
Tailwind
colors: {
  custom: {
    50: '#72875d',
    500: '#3a581f',
    950: '#000000',
  },
}
SCSS
$custom: #3a581f;
$custom-light: #72875d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581f",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 91.579,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.09122,
    "h": 132.5
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#3A581F
secondary
#6B468D
accent
#50D797
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581F

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

Preview Lab → · Contrast checker → · Palette generator →

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