#3A402A#3A402A

#3A402A is a dark, muted yellow-green. Relative luminance 0.047; OKLCH L 35.9% C 0.037 H 120.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3A402A
RGBrgb(58, 64, 42)
HSLhsl(76, 21%, 21%)
HSVhsv(76, 34%, 25%)
CMYKcmyk(9.4%, 0%, 34.4%, 74.9%)
CIE-LABlab(25.96, -7.01, 12.67)
CIE-LCHlch(25.96, 14.48, 118.95°)
OKLaboklab(35.93% -0.0188 0.0317)
OKLCHoklch(35.93% 0.037 120.7)
XYZxyz(3.9962, 4.7335, 2.8932)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A402A #302A40
analogous
#403B2A #3A402A #2F402A
triadic
#3A402A #2A3A40 #402A3A
tetradic
#3A402A #2A403B #302A40 #402A2F
square
#3A402A #2A403B #302A40 #402A2F
split-complementary
#3A402A #2A2F40 #3B2A40
monochromatic
#11120C #191B12 #3A402A #5B6542 #7D8A5A

Accessibility & contrast

On white

10.79
#3A402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A402A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A402A#FFFFFF#000000##FFFFFF
##3A402A1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E29
Deuteranopia (green-blind)
#423E2B
Tritanopia (blue-blind)
#3C3E3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a402a;
/* rgb */ color: rgb(58, 64, 42);
/* oklch */ color: oklch(35.9% 0.037 120.7);
Tailwind
colors: {
  custom: {
    50: '#707463',
    500: '#3a402a',
    950: '#000000',
  },
}
SCSS
$custom: #3a402a;
$custom-light: #707463;
$custom-dark: #000000;
JSON
{
  "hex": "#3a402a",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 76.364,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35925,
    "c": 0.03686,
    "h": 120.7
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#3A402A
secondary
#5C5571
accent
#6ABD81
background
#F6F7F5
surface
#ECEDEA
border
#C7C8C6
text
#070805
muted
#7A7B79

Preview Lab

Preview with #3A402A

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

Preview Lab → · Contrast checker → · Palette generator →

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