#3A370F#3A370F

#3A370F is a dark, muted yellow. Relative luminance 0.037; OKLCH L 33.1% C 0.058 H 105.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3A370F
RGBrgb(58, 55, 15)
HSLhsl(56, 59%, 14%)
HSVhsv(56, 74%, 23%)
CMYKcmyk(0%, 5.2%, 74.1%, 77.3%)
CIE-LABlab(22.54, -4.70, 24.68)
CIE-LCHlch(22.54, 25.13, 100.78°)
OKLaboklab(33.06% -0.015 0.056)
OKLCHoklch(33.06% 0.058 105)
XYZxyz(3.1975, 3.6665, 0.9911)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A370F #0F123A
analogous
#3A220F #3A370F #283A0F
triadic
#3A370F #0F3A37 #370F3A
tetradic
#3A370F #0F3A22 #0F123A #3A0F28
square
#3A370F #0F3A22 #0F123A #3A0F28
split-complementary
#3A370F #0F283A #220F3A
monochromatic
#181706 #181706 #3A370F #6B651C #9B9328

Accessibility & contrast

On white

12.12
#3A370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A370F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A370F#FFFFFF#000000##FFFFFF
##3A370F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350A
Deuteranopia (green-blind)
#3D3711
Tritanopia (blue-blind)
#3F332F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a370f;
/* rgb */ color: rgb(58, 55, 15);
/* oklch */ color: oklch(33.1% 0.058 105.0);
Tailwind
colors: {
  custom: {
    50: '#726d4f',
    500: '#3a370f',
    950: '#000000',
  },
}
SCSS
$custom: #3a370f;
$custom-light: #726d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a370f",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 55.814,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.05794,
    "h": 105
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#3A370F
secondary
#303574
accent
#51E246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #3A370F

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

Preview Lab → · Contrast checker → · Palette generator →

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