#3A3822#3A3822

#3A3822 is a dark, muted yellow. Relative luminance 0.038; OKLCH L 33.6% C 0.036 H 103.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#3A3822
RGBrgb(58, 56, 34)
HSLhsl(55, 26%, 18%)
HSVhsv(55, 41%, 23%)
CMYKcmyk(0%, 3.4%, 41.4%, 77.3%)
CIE-LABlab(23.15, -3.22, 14.09)
CIE-LCHlch(23.15, 14.45, 102.88°)
OKLaboklab(33.64% -0.0085 0.0348)
OKLCHoklch(33.64% 0.036 103.7)
XYZxyz(3.4479, 3.8435, 2.0733)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3822 #22243A
analogous
#3A2C22 #3A3822 #303A22
triadic
#3A3822 #223A38 #38223A
tetradic
#3A3822 #223A2C #22243A #3A2230
square
#3A3822 #223A2C #22243A #3A2230
split-complementary
#3A3822 #22303A #2C223A
monochromatic
#13130B #13130B #3A3822 #615D39 #87834F

Accessibility & contrast

On white

11.87
#3A3822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3A3822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3822
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3822#FFFFFF#000000##FFFFFF
##3A38221.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#3D3823
Tritanopia (blue-blind)
#3D3532
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a3822;
/* rgb */ color: rgb(58, 56, 34);
/* oklch */ color: oklch(33.6% 0.036 103.7);
Tailwind
colors: {
  custom: {
    50: '#706e5d',
    500: '#3a3822',
    950: '#000000',
  },
}
SCSS
$custom: #3a3822;
$custom-light: #706e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3822",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 34
  },
  "hsl": {
    "h": 55,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.33635,
    "c": 0.03577,
    "h": 103.7
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#3A3822
secondary
#4B4E6D
accent
#6DC265
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#070704
muted
#7A7A79

Preview Lab

Preview with #3A3822

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

Preview Lab → · Contrast checker → · Palette generator →

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