#34330F#34330F

#34330F is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.054 H 107.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#34330F
RGBrgb(52, 51, 15)
HSLhsl(58, 55%, 13%)
HSVhsv(58, 71%, 20%)
CMYKcmyk(0%, 1.9%, 71.2%, 79.6%)
CIE-LABlab(20.57, -5.31, 22.37)
CIE-LCHlch(20.57, 22.99, 103.35°)
OKLaboklab(31.34% -0.0163 0.0513)
OKLCHoklch(31.34% 0.054 107.6)
XYZxyz(2.6863, 3.1323, 0.9149)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34330F #0F1034
analogous
#34200F #34330F #22340F
triadic
#34330F #0F3433 #330F34
tetradic
#34330F #0F3420 #0F1034 #340F22
square
#34330F #0F3420 #0F1034 #340F22
split-complementary
#34330F #0F2234 #200F34
monochromatic
#181707 #181707 #34330F #63621D #93902A

Accessibility & contrast

On white

12.91
#34330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#34330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34330F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34330F#FFFFFF#000000##FFFFFF
##34330F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#382F2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #34330f;
/* rgb */ color: rgb(52, 51, 15);
/* oklch */ color: oklch(31.3% 0.054 107.6);
Tailwind
colors: {
  custom: {
    50: '#6d6a4f',
    500: '#34330f',
    950: '#000000',
  },
}
SCSS
$custom: #34330f;
$custom-light: #6d6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#34330f",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 58.378,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31339,
    "c": 0.05381,
    "h": 107.6
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#34330F
secondary
#31326E
accent
#4DDF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #34330F

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

Preview Lab → · Contrast checker → · Palette generator →

#34330F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva