#3A420B#3A420B

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

Color values

HEX#3A420B
RGBrgb(58, 66, 11)
HSLhsl(69, 71%, 15%)
HSVhsv(69, 83%, 26%)
CMYKcmyk(12.1%, 0%, 83.3%, 74.1%)
CIE-LABlab(26.22, -11.70, 30.23)
CIE-LCHlch(26.22, 32.41, 111.15°)
OKLaboklab(35.99% -0.0351 0.0669)
OKLCHoklch(35.99% 0.076 117.7)
XYZxyz(3.7536, 4.8202, 1.0492)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A420B #130B42
analogous
#422E0B #3A420B #1F420B
triadic
#3A420B #0B3A42 #420B3A
tetradic
#3A420B #0B422E #130B42 #420B1F
square
#3A420B #0B422E #130B42 #420B1F
split-complementary
#3A420B #0B1F42 #2E0B42
monochromatic
#171A04 #171A04 #3A420B #687614 #96AB1C

Accessibility & contrast

On white

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

On black

1.96
#3A420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A420B#FFFFFF#000000##FFFFFF
##3A420B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a420b;
/* rgb */ color: rgb(58, 66, 11);
/* oklch */ color: oklch(36.0% 0.075 117.7);
Tailwind
colors: {
  custom: {
    50: '#72764f',
    500: '#3a420b',
    950: '#000000',
  },
}
SCSS
$custom: #3a420b;
$custom-light: #72764f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a420b",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 68.727,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.0755,
    "h": 117.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#3A420B
secondary
#362A7F
accent
#3AEE54
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A420B

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

Preview Lab → · Contrast checker → · Palette generator →

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