#3A420E#3A420E

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

Color values

HEX#3A420E
RGBrgb(58, 66, 14)
HSLhsl(69, 65%, 16%)
HSVhsv(69, 79%, 26%)
CMYKcmyk(12.1%, 0%, 78.8%, 74.1%)
CIE-LABlab(26.24, -11.51, 28.96)
CIE-LCHlch(26.24, 31.16, 111.66°)
OKLaboklab(36.02% -0.0342 0.0648)
OKLCHoklch(36.02% 0.073 117.8)
XYZxyz(3.7725, 4.8277, 1.1485)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A420E #160E42
analogous
#42300E #3A420E #20420E
triadic
#3A420E #0E3A42 #420E3A
tetradic
#3A420E #0E4230 #160E42 #420E20
square
#3A420E #0E4230 #160E42 #420E20
split-complementary
#3A420E #0E2042 #300E42
monochromatic
#161905 #161905 #3A420E #667419 #93A723

Accessibility & contrast

On white

10.68
#3A420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A420E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A420E#FFFFFF#000000##FFFFFF
##3A420E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a420e;
/* rgb */ color: rgb(58, 66, 14);
/* oklch */ color: oklch(36.0% 0.073 117.8);
Tailwind
colors: {
  custom: {
    50: '#727650',
    500: '#3a420e',
    950: '#000000',
  },
}
SCSS
$custom: #3a420e;
$custom-light: #727650;
$custom-dark: #000000;
JSON
{
  "hex": "#3a420e",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 69.231,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36018,
    "c": 0.07328,
    "h": 117.8
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#3A420E
secondary
#3B2F7D
accent
#40E85A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A420E

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

Preview Lab → · Contrast checker → · Palette generator →

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