#3A400E#3A400E

#3A400E 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#3A400E
RGBrgb(58, 64, 14)
HSLhsl(67, 64%, 15%)
HSVhsv(67, 78%, 25%)
CMYKcmyk(9.4%, 0%, 78.1%, 74.9%)
CIE-LABlab(25.56, -10.32, 28.28)
CIE-LCHlch(25.56, 30.11, 110.05°)
OKLaboklab(35.47% -0.0309 0.0634)
OKLCHoklch(35.47% 0.071 116)
XYZxyz(3.6577, 4.5981, 1.1102)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A400E #140E40
analogous
#402D0E #3A400E #21400E
triadic
#3A400E #0E3A40 #400E3A
tetradic
#3A400E #0E402D #140E40 #400E21
square
#3A400E #0E402D #140E40 #400E21
split-complementary
#3A400E #0E2140 #2D0E40
monochromatic
#171905 #171905 #3A400E #687219 #95A424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A400E#FFFFFF#000000##FFFFFF
##3A400E1.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)
#453C07
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#3E3C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a400e;
/* rgb */ color: rgb(58, 64, 14);
/* oklch */ color: oklch(35.5% 0.071 116.0);
Tailwind
colors: {
  custom: {
    50: '#727450',
    500: '#3a400e',
    950: '#000000',
  },
}
SCSS
$custom: #3a400e;
$custom-light: #727450;
$custom-dark: #000000;
JSON
{
  "hex": "#3a400e",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 67.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.07051,
    "h": 116
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#3A400E
secondary
#382F7B
accent
#41E755
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A400E

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

Preview Lab → · Contrast checker → · Palette generator →

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