#3A400D#3A400D

#3A400D is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.5% C 0.071 H 116.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3A400D
RGBrgb(58, 64, 13)
HSLhsl(67, 66%, 15%)
HSVhsv(67, 80%, 25%)
CMYKcmyk(9.4%, 0%, 79.7%, 74.9%)
CIE-LABlab(25.55, -10.39, 28.73)
CIE-LCHlch(25.55, 30.55, 109.88°)
OKLaboklab(35.46% -0.0312 0.0641)
OKLCHoklch(35.46% 0.071 116)
XYZxyz(3.6511, 4.5954, 1.0754)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A400D #130D40
analogous
#402D0D #3A400D #20400D
triadic
#3A400D #0D3A40 #400D3A
tetradic
#3A400D #0D402D #130D40 #400D20
square
#3A400D #0D402D #130D40 #400D20
split-complementary
#3A400D #0D2040 #2D0D40
monochromatic
#171905 #171905 #3A400D #687317 #96A622

Accessibility & contrast

On white

10.94
#3A400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A400D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A400D#FFFFFF#000000##FFFFFF
##3A400D1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#3E3C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a400d;
/* rgb */ color: rgb(58, 64, 13);
/* oklch */ color: oklch(35.5% 0.071 116.0);
Tailwind
colors: {
  custom: {
    50: '#72744f',
    500: '#3a400d',
    950: '#000000',
  },
}
SCSS
$custom: #3a400d;
$custom-light: #72744f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a400d",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 67.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.07131,
    "h": 116
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#3A400D
secondary
#362D7C
accent
#3FE953
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A400D

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

Preview Lab → · Contrast checker → · Palette generator →

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