#34370B#34370B

#34370B is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.4% C 0.063 H 113.2°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#34370B
RGBrgb(52, 55, 11)
HSLhsl(64, 67%, 13%)
HSVhsv(64, 80%, 22%)
CMYKcmyk(5.5%, 0%, 80%, 78.4%)
CIE-LABlab(21.90, -8.14, 25.74)
CIE-LCHlch(21.90, 27.00, 107.55°)
OKLaboklab(32.39% -0.0248 0.0578)
OKLCHoklch(32.39% 0.063 113.2)
XYZxyz(2.8428, 3.4867, 0.8398)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34370B #0E0B37
analogous
#37240B #34370B #1E370B
triadic
#34370B #0B3437 #370B34
tetradic
#34370B #0B3724 #0E0B37 #370B1E
square
#34370B #0B3724 #0E0B37 #370B1E
split-complementary
#34370B #0B1E37 #240B37
monochromatic
#181A05 #181A05 #34370B #646A15 #949D1F

Accessibility & contrast

On white

12.37
#34370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#34370B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34370B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34370B#FFFFFF#000000##FFFFFF
##34370B1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3405
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#38332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #34370b;
/* rgb */ color: rgb(52, 55, 11);
/* oklch */ color: oklch(32.4% 0.063 113.2);
Tailwind
colors: {
  custom: {
    50: '#6d6d4d',
    500: '#34370b',
    950: '#000000',
  },
}
SCSS
$custom: #34370b;
$custom-light: #6d6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#34370b",
  "rgb": {
    "r": 52,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 64.091,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.06288,
    "h": 113.2
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#34370B
secondary
#2F2A74
accent
#3EEA4A
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #34370B

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

Preview Lab → · Contrast checker → · Palette generator →

#34370B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva