#3A3012#3A3012

#3A3012 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.048 H 91.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3A3012
RGBrgb(58, 48, 18)
HSLhsl(45, 53%, 15%)
HSVhsv(45, 69%, 23%)
CMYKcmyk(0%, 17.2%, 69%, 77.3%)
CIE-LABlab(20.27, 0.10, 20.53)
CIE-LCHlch(20.27, 20.53, 89.73°)
OKLaboklab(31.28% -0.0008 0.0476)
OKLCHoklch(31.28% 0.048 91)
XYZxyz(2.9112, 3.0573, 1.0089)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3012 #121C3A
analogous
#3A1C12 #3A3012 #303A12
triadic
#3A3012 #123A30 #30123A
tetradic
#3A3012 #123A1C #121C3A #3A1230
square
#3A3012 #123A1C #121C3A #3A1230
split-complementary
#3A3012 #12303A #1C123A
monochromatic
#171307 #171307 #3A3012 #695720 #977D2F

Accessibility & contrast

On white

13.03
#3A3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3A3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3012
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3012#FFFFFF#000000##FFFFFF
##3A30121.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0F
Deuteranopia (green-blind)
#383213
Tritanopia (blue-blind)
#3F2C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a3012;
/* rgb */ color: rgb(58, 48, 18);
/* oklch */ color: oklch(31.3% 0.048 91.0);
Tailwind
colors: {
  custom: {
    50: '#726851',
    500: '#3a3012',
    950: '#000000',
  },
}
SCSS
$custom: #3a3012;
$custom-light: #726851;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3012",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31276,
    "c": 0.04764,
    "h": 91
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#3A3012
secondary
#354473
accent
#70DC4C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A3012

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

Preview Lab → · Contrast checker → · Palette generator →

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