#3A370C#3A370C

#3A370C is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.0% C 0.061 H 105.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#3A370C
RGBrgb(58, 55, 12)
HSLhsl(56, 66%, 14%)
HSVhsv(56, 79%, 23%)
CMYKcmyk(0%, 5.2%, 79.3%, 77.3%)
CIE-LABlab(22.51, -4.91, 26.13)
CIE-LCHlch(22.51, 26.59, 100.65°)
OKLaboklab(33.03% -0.016 0.0585)
OKLCHoklch(33.03% 0.061 105.3)
XYZxyz(3.1776, 3.6586, 0.8866)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A370C #0C0F3A
analogous
#3A200C #3A370C #263A0C
triadic
#3A370C #0C3A37 #370C3A
tetradic
#3A370C #0C3A20 #0C0F3A #3A0C26
square
#3A370C #0C3A20 #0C0F3A #3A0C26
split-complementary
#3A370C #0C263A #200C3A
monochromatic
#191805 #191805 #3A370C #6D6716 #9F9721

Accessibility & contrast

On white

12.13
#3A370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3A370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A370C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A370C#FFFFFF#000000##FFFFFF
##3A370C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3506
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#3F332E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a370c;
/* rgb */ color: rgb(58, 55, 12);
/* oklch */ color: oklch(33.0% 0.061 105.3);
Tailwind
colors: {
  custom: {
    50: '#726d4e',
    500: '#3a370c',
    950: '#000000',
  },
}
SCSS
$custom: #3a370c;
$custom-light: #726d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a370c",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 56.087,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.06064,
    "h": 105.3
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#3A370C
secondary
#2C3176
accent
#4AE93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A370C

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

Preview Lab → · Contrast checker → · Palette generator →

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