#3A581C#3A581C

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

Color values

HEX#3A581C
RGBrgb(58, 88, 28)
HSLhsl(90, 52%, 23%)
HSVhsv(90, 68%, 35%)
CMYKcmyk(34.1%, 0%, 68.2%, 65.5%)
CIE-LABlab(33.90, -22.37, 30.37)
CIE-LCHlch(33.90, 37.72, 126.37°)
OKLaboklab(42.26% -0.0627 0.07)
OKLCHoklch(42.26% 0.094 131.9)
XYZxyz(5.4442, 7.9626, 2.3485)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A581C #3A1C58
analogous
#58581C #3A581C #1C581C
triadic
#3A581C #1C3A58 #581C3A
tetradic
#3A581C #1C5858 #3A1C58 #581C1C
square
#3A581C #1C5858 #3A1C58 #581C1C
split-complementary
#3A581C #1C1C58 #581C58
monochromatic
#0F1707 #1B2A0D #3A581C #59862B #77B53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A581C#FFFFFF#000000##FFFFFF
##3A581C1.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)
#5C5115
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#3B544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a581c;
/* rgb */ color: rgb(58, 88, 28);
/* oklch */ color: oklch(42.3% 0.094 131.9);
Tailwind
colors: {
  custom: {
    50: '#73875b',
    500: '#3a581c',
    950: '#000000',
  },
}
SCSS
$custom: #3a581c;
$custom-light: #73875b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a581c",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.09402,
    "h": 131.9
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#3A581C
secondary
#68428E
accent
#4DDB94
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3A581C

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

Preview Lab → · Contrast checker → · Palette generator →

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