#3A420D#3A420D

#3A420D is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.074 H 117.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3A420D
RGBrgb(58, 66, 13)
HSLhsl(69, 67%, 15%)
HSVhsv(69, 80%, 26%)
CMYKcmyk(12.1%, 0%, 80.3%, 74.1%)
CIE-LABlab(26.23, -11.57, 29.40)
CIE-LCHlch(26.23, 31.59, 111.49°)
OKLaboklab(36.01% -0.0345 0.0655)
OKLCHoklch(36.01% 0.074 117.8)
XYZxyz(3.7659, 4.8251, 1.1136)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A420D #150D42
analogous
#422F0D #3A420D #1F420D
triadic
#3A420D #0D3A42 #420D3A
tetradic
#3A420D #0D422F #150D42 #420D1F
square
#3A420D #0D422F #150D42 #420D1F
split-complementary
#3A420D #0D1F42 #2F0D42
monochromatic
#161A05 #161A05 #3A420D #677517 #94A821

Accessibility & contrast

On white

10.69
#3A420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A420D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A420D#FFFFFF#000000##FFFFFF
##3A420D1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E05
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#3E3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a420d;
/* rgb */ color: rgb(58, 66, 13);
/* oklch */ color: oklch(36.0% 0.074 117.8);
Tailwind
colors: {
  custom: {
    50: '#727650',
    500: '#3a420d',
    950: '#000000',
  },
}
SCSS
$custom: #3a420d;
$custom-light: #727650;
$custom-dark: #000000;
JSON
{
  "hex": "#3a420d",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 69.057,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36009,
    "c": 0.07405,
    "h": 117.8
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#3A420D
secondary
#392D7E
accent
#3EEA58
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A420D

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

Preview Lab → · Contrast checker → · Palette generator →

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