#3A4211#3A4211

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

Color values

HEX#3A4211
RGBrgb(58, 66, 17)
HSLhsl(70, 59%, 16%)
HSVhsv(70, 74%, 26%)
CMYKcmyk(12.1%, 0%, 74.2%, 74.1%)
CIE-LABlab(26.26, -11.29, 27.59)
CIE-LCHlch(26.26, 29.80, 112.25°)
OKLaboklab(36.05% -0.0333 0.0625)
OKLCHoklch(36.05% 0.071 118.1)
XYZxyz(3.7944, 4.8365, 1.2638)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4211 #191142
analogous
#423211 #3A4211 #224211
triadic
#3A4211 #113A42 #42113A
tetradic
#3A4211 #114232 #191142 #421122
square
#3A4211 #114232 #191142 #421122
split-complementary
#3A4211 #112242 #321142
monochromatic
#151806 #151806 #3A4211 #65731E #90A32A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4211#FFFFFF#000000##FFFFFF
##3A42111.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)
#473E0A
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#3E3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4211;
/* rgb */ color: rgb(58, 66, 17);
/* oklch */ color: oklch(36.0% 0.071 118.1);
Tailwind
colors: {
  custom: {
    50: '#727652',
    500: '#3a4211',
    950: '#000000',
  },
}
SCSS
$custom: #3a4211;
$custom-light: #727652;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4211",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 69.796,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36047,
    "c": 0.07076,
    "h": 118.1
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#3A4211
secondary
#3F337C
accent
#46E25F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A4211

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

Preview Lab → · Contrast checker → · Palette generator →

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