#3A581A#3A581A

#3A581A is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.096 H 131.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3A581A
RGBrgb(58, 88, 26)
HSLhsl(89, 54%, 22%)
HSVhsv(89, 70%, 35%)
CMYKcmyk(34.1%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.89, -22.56, 31.32)
CIE-LCHlch(33.89, 38.60, 125.77°)
OKLaboklab(42.24% -0.0634 0.0718)
OKLCHoklch(42.24% 0.096 131.5)
XYZxyz(5.4210, 7.9534, 2.2266)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581A #381A58
analogous
#58571A #3A581A #1B581A
triadic
#3A581A #1A3A58 #581A3A
tetradic
#3A581A #1A5857 #381A58 #581A1B
square
#3A581A #1A5857 #381A58 #581A1B
split-complementary
#3A581A #1A1B58 #571A58
monochromatic
#101807 #1B290C #3A581A #598728 #78B636

Accessibility & contrast

On white

8.11
#3A581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A581A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A581A#FFFFFF#000000##FFFFFF
##3A581A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a581a;
/* rgb */ color: rgb(58, 88, 26);
/* oklch */ color: oklch(42.2% 0.096 131.5);
Tailwind
colors: {
  custom: {
    50: '#73875a',
    500: '#3a581a',
    950: '#000000',
  },
}
SCSS
$custom: #3a581a;
$custom-light: #73875a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581a",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 89.032,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.09577,
    "h": 131.5
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#3A581A
secondary
#66408E
accent
#4ADE92
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581A

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

Preview Lab → · Contrast checker → · Palette generator →

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