#34370C#34370C

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

Color values

HEX#34370C
RGBrgb(52, 55, 12)
HSLhsl(64, 64%, 13%)
HSVhsv(64, 78%, 22%)
CMYKcmyk(5.5%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.90, -8.07, 25.31)
CIE-LCHlch(21.90, 26.56, 107.68°)
OKLaboklab(32.4% -0.0245 0.057)
OKLCHoklch(32.4% 0.062 113.2)
XYZxyz(2.8488, 3.4890, 0.8711)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34370C #0F0C37
analogous
#37240C #34370C #1E370C
triadic
#34370C #0C3437 #370C34
tetradic
#34370C #0C3724 #0F0C37 #370C1E
square
#34370C #0C3724 #0F0C37 #370C1E
split-complementary
#34370C #0C1E37 #240C37
monochromatic
#181905 #181905 #34370C #636917 #939B22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34370C#FFFFFF#000000##FFFFFF
##34370C1.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)
#3C3406
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#38332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #34370c;
/* rgb */ color: rgb(52, 55, 12);
/* oklch */ color: oklch(32.4% 0.062 113.2);
Tailwind
colors: {
  custom: {
    50: '#6d6d4e',
    500: '#34370c',
    950: '#000000',
  },
}
SCSS
$custom: #34370c;
$custom-light: #6d6d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#34370c",
  "rgb": {
    "r": 52,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 64.186,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32399,
    "c": 0.06203,
    "h": 113.2
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#34370C
secondary
#312C73
accent
#41E74C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #34370C

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

Preview Lab → · Contrast checker → · Palette generator →

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