#3A4208#3A4208

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

Color values

HEX#3A4208
RGBrgb(58, 66, 8)
HSLhsl(68, 78%, 15%)
HSVhsv(68, 88%, 26%)
CMYKcmyk(12.1%, 0%, 87.9%, 74.1%)
CIE-LABlab(26.20, -11.86, 31.41)
CIE-LCHlch(26.20, 33.57, 110.69°)
OKLaboklab(35.97% -0.0358 0.0687)
OKLCHoklch(35.97% 0.077 117.6)
XYZxyz(3.7371, 4.8135, 0.9619)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4208 #100842
analogous
#422D08 #3A4208 #1D4208
triadic
#3A4208 #083A42 #42083A
tetradic
#3A4208 #08422D #100842 #42081D
square
#3A4208 #08422D #100842 #42081D
split-complementary
#3A4208 #081D42 #2D0842
monochromatic
#181B03 #181B03 #3A4208 #6A790F #9AAF15

Accessibility & contrast

On white

10.70
#3A4208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4208
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4208#FFFFFF#000000##FFFFFF
##3A42081.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#3E3E37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4208;
/* rgb */ color: rgb(58, 66, 8);
/* oklch */ color: oklch(36.0% 0.077 117.6);
Tailwind
colors: {
  custom: {
    50: '#72764d',
    500: '#3a4208',
    950: '#000000',
  },
}
SCSS
$custom: #3a4208;
$custom-light: #72764d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4208",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 68.276,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.07749,
    "h": 117.6
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#3A4208
secondary
#322580
accent
#33F54E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4208

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

Preview Lab → · Contrast checker → · Palette generator →

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