#3A402E#3A402E

#3A402E is a dark, muted yellow-green. Relative luminance 0.048; OKLCH L 36.0% C 0.031 H 122.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3A402E
RGBrgb(58, 64, 46)
HSLhsl(80, 16%, 22%)
HSVhsv(80, 28%, 25%)
CMYKcmyk(9.4%, 0%, 28.1%, 74.9%)
CIE-LABlab(26.05, -6.31, 10.21)
CIE-LCHlch(26.05, 12.00, 121.69°)
OKLaboklab(36.03% -0.0168 0.0259)
OKLCHoklch(36.03% 0.031 122.9)
XYZxyz(4.0714, 4.7636, 3.2892)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A402E #342E40
analogous
#403D2E #3A402E #31402E
triadic
#3A402E #2E3A40 #402E3A
tetradic
#3A402E #2E403D #342E40 #402E31
square
#3A402E #2E403D #342E40 #402E31
split-complementary
#3A402E #2E3140 #3D2E40
monochromatic
#10120D #1A1C14 #3A402E #5A6448 #7B8761

Accessibility & contrast

On white

10.75
#3A402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3A402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A402E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A402E#FFFFFF#000000##FFFFFF
##3A402E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2D
Deuteranopia (green-blind)
#413E2F
Tritanopia (blue-blind)
#3B3E3B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a402e;
/* rgb */ color: rgb(58, 64, 46);
/* oklch */ color: oklch(36.0% 0.031 122.9);
Tailwind
colors: {
  custom: {
    50: '#707466',
    500: '#3a402e',
    950: '#000000',
  },
}
SCSS
$custom: #3a402e;
$custom-light: #707466;
$custom-dark: #000000;
JSON
{
  "hex": "#3a402e",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 80,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.03084,
    "h": 122.9
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#3A402E
secondary
#615970
accent
#6FB988
background
#F6F7F6
surface
#ECEDEB
border
#C7C8C6
text
#070806
muted
#7A7B7A

Preview Lab

Preview with #3A402E

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

Preview Lab → · Contrast checker → · Palette generator →

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