#343228#343228

#343228 is a dark, near-neutral yellow. Relative luminance 0.032; OKLCH L 31.6% C 0.017 H 97.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#343228
RGBrgb(52, 50, 40)
HSLhsl(50, 13%, 18%)
HSVhsv(50, 23%, 20%)
CMYKcmyk(0%, 3.8%, 23.1%, 79.6%)
CIE-LABlab(20.69, -1.20, 6.70)
CIE-LCHlch(20.69, 6.80, 100.16°)
OKLaboklab(31.59% -0.0024 0.0172)
OKLCHoklch(31.59% 0.017 97.9)
XYZxyz(2.9398, 3.1645, 2.4630)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343228 #282A34
analogous
#342C28 #343228 #303428
triadic
#343228 #283432 #322834
tetradic
#343228 #28342C #282A34 #342830
square
#343228 #28342C #282A34 #342830
split-complementary
#343228 #283034 #2C2834
monochromatic
#11110D #11110D #343228 #575343 #79755D

Accessibility & contrast

On white

12.86
#343228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#343228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343228
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343228#FFFFFF#000000##FFFFFF
##3432281.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#353228
Tritanopia (blue-blind)
#36302F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #343228;
/* rgb */ color: rgb(52, 50, 40);
/* oklch */ color: oklch(31.6% 0.017 97.9);
Tailwind
colors: {
  custom: {
    50: '#6b6961',
    500: '#343228',
    950: '#000000',
  },
}
SCSS
$custom: #343228;
$custom-light: #6b6961;
$custom-dark: #000000;
JSON
{
  "hex": "#343228",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 50,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.31588,
    "c": 0.01736,
    "h": 97.9
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#343228
secondary
#545664
accent
#7DB672
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #343228

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

Preview Lab → · Contrast checker → · Palette generator →

#343228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva