#333228#333228

#333228 is a dark, near-neutral yellow. Relative luminance 0.031; OKLCH L 31.5% C 0.017 H 102.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#333228
RGBrgb(51, 50, 40)
HSLhsl(55, 12%, 18%)
HSVhsv(55, 22%, 20%)
CMYKcmyk(0%, 2%, 21.6%, 80%)
CIE-LABlab(20.59, -1.67, 6.54)
CIE-LCHlch(20.59, 6.75, 104.36°)
OKLaboklab(31.48% -0.0038 0.0168)
OKLCHoklch(31.48% 0.017 102.6)
XYZxyz(2.8888, 3.1382, 2.4606)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333228 #282933
analogous
#332C28 #333228 #2E3328
triadic
#333228 #283332 #322833
tetradic
#333228 #28332C #282933 #33282E
square
#333228 #28332C #282933 #33282E
split-complementary
#333228 #282E33 #2C2833
monochromatic
#11110D #11110D #333228 #555443 #78755E

Accessibility & contrast

On white

12.90
#333228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333228
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333228#FFFFFF#000000##FFFFFF
##3332281.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333228;
/* rgb */ color: rgb(51, 50, 40);
/* oklch */ color: oklch(31.5% 0.017 102.6);
Tailwind
colors: {
  custom: {
    50: '#6a6961',
    500: '#333228',
    950: '#000000',
  },
}
SCSS
$custom: #333228;
$custom-light: #6a6961;
$custom-dark: #000000;
JSON
{
  "hex": "#333228",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 54.545,
    "s": 12.088,
    "l": 17.843
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.01722,
    "h": 102.6
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#333228
secondary
#545563
accent
#79B573
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #333228

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

Preview Lab → · Contrast checker → · Palette generator →

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