#3A581E#3A581E

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

Color values

HEX#3A581E
RGBrgb(58, 88, 30)
HSLhsl(91, 49%, 23%)
HSVhsv(91, 66%, 35%)
CMYKcmyk(34.1%, 0%, 65.9%, 65.5%)
CIE-LABlab(33.93, -22.17, 29.39)
CIE-LCHlch(33.93, 36.82, 127.02°)
OKLaboklab(42.29% -0.062 0.0682)
OKLCHoklch(42.29% 0.092 132.3)
XYZxyz(5.4689, 7.9725, 2.4788)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581E #3C1E58
analogous
#57581E #3A581E #1E581F
triadic
#3A581E #1E3A58 #581E3A
tetradic
#3A581E #1E5758 #3C1E58 #581F1E
square
#3A581E #1E5758 #3C1E58 #581F1E
split-complementary
#3A581E #1F1E58 #581E57
monochromatic
#0F1708 #1C2A0E #3A581E #58862E #76B33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A581E#FFFFFF#000000##FFFFFF
##3A581E1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5117
Deuteranopia (green-blind)
#584F22
Tritanopia (blue-blind)
#3B544C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a581e;
/* rgb */ color: rgb(58, 88, 30);
/* oklch */ color: oklch(42.3% 0.092 132.3);
Tailwind
colors: {
  custom: {
    50: '#72875c',
    500: '#3a581e',
    950: '#000000',
  },
}
SCSS
$custom: #3a581e;
$custom-light: #72875c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581e",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 91.034,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.09218,
    "h": 132.3
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#3A581E
secondary
#6A458D
accent
#4FD996
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581E

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

Preview Lab → · Contrast checker → · Palette generator →

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