#3A300C#3A300C

#3A300C is a dark, muted yellow. Relative luminance 0.030; OKLCH L 31.2% C 0.054 H 93.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#3A300C
RGBrgb(58, 48, 12)
HSLhsl(47, 66%, 14%)
HSVhsv(47, 79%, 23%)
CMYKcmyk(0%, 17.2%, 79.3%, 77.3%)
CIE-LABlab(20.20, -0.38, 23.63)
CIE-LCHlch(20.20, 23.63, 90.92°)
OKLaboklab(31.2% -0.0031 0.0535)
OKLCHoklch(31.2% 0.054 93.3)
XYZxyz(2.8684, 3.0401, 0.7835)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A300C #0C163A
analogous
#3A190C #3A300C #2D3A0C
triadic
#3A300C #0C3A30 #300C3A
tetradic
#3A300C #0C3A19 #0C163A #3A0C2D
square
#3A300C #0C3A19 #0C163A #3A0C2D
split-complementary
#3A300C #0C2D3A #190C3A
monochromatic
#191505 #191505 #3A300C #6D5A16 #9F8421

Accessibility & contrast

On white

13.06
#3A300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A300C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A300C#FFFFFF#000000##FFFFFF
##3A300C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F08
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#3F2C29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3a300c;
/* rgb */ color: rgb(58, 48, 12);
/* oklch */ color: oklch(31.2% 0.054 93.3);
Tailwind
colors: {
  custom: {
    50: '#72684d',
    500: '#3a300c',
    950: '#000000',
  },
}
SCSS
$custom: #3a300c;
$custom-light: #72684d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a300c",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 46.957,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.312,
    "c": 0.05361,
    "h": 93.3
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#3A300C
secondary
#2C3C76
accent
#64E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A300C

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

Preview Lab → · Contrast checker → · Palette generator →

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