#3A370B#3A370B

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

Color values

HEX#3A370B
RGBrgb(58, 55, 11)
HSLhsl(56, 68%, 14%)
HSVhsv(56, 81%, 23%)
CMYKcmyk(0%, 5.2%, 81%, 77.3%)
CIE-LABlab(22.50, -4.98, 26.56)
CIE-LCHlch(22.50, 27.02, 100.62°)
OKLaboklab(33.02% -0.0163 0.0593)
OKLCHoklch(33.02% 0.061 105.4)
XYZxyz(3.1716, 3.6562, 0.8552)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A370B #0B0E3A
analogous
#3A1F0B #3A370B #253A0B
triadic
#3A370B #0B3A37 #370B3A
tetradic
#3A370B #0B3A1F #0B0E3A #3A0B25
square
#3A370B #0B3A1F #0B0E3A #3A0B25
split-complementary
#3A370B #0B253A #1F0B3A
monochromatic
#1A1805 #1A1805 #3A370B #6D6815 #A1991F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A370B#FFFFFF#000000##FFFFFF
##3A370B1.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)
#3D3505
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#3F332E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a370b;
/* rgb */ color: rgb(58, 55, 11);
/* oklch */ color: oklch(33.0% 0.061 105.4);
Tailwind
colors: {
  custom: {
    50: '#726d4d',
    500: '#3a370b',
    950: '#000000',
  },
}
SCSS
$custom: #3a370b;
$custom-light: #726d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a370b",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 56.17,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.06146,
    "h": 105.4
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#3A370B
secondary
#2A2F77
accent
#48EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A370B

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

Preview Lab → · Contrast checker → · Palette generator →

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