#303228#303228

#303228 is a dark, near-neutral yellow-green. Relative luminance 0.031; OKLCH L 31.2% C 0.018 H 116.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#303228
RGBrgb(48, 50, 40)
HSLhsl(72, 11%, 18%)
HSVhsv(72, 20%, 20%)
CMYKcmyk(4%, 0%, 20%, 80.4%)
CIE-LABlab(20.29, -3.08, 6.08)
CIE-LCHlch(20.29, 6.82, 116.86°)
OKLaboklab(31.18% -0.0078 0.0157)
OKLCHoklch(31.18% 0.018 116.6)
XYZxyz(2.7425, 3.0628, 2.4538)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303228 #2A2832
analogous
#322F28 #303228 #2B3228
triadic
#303228 #283032 #322830
tetradic
#303228 #28322F #2A2832 #32282B
square
#303228 #28322F #2A2832 #32282B
split-complementary
#303228 #282B32 #2F2832
monochromatic
#10110E #10110E #303228 #515443 #71765E

Accessibility & contrast

On white

13.02
#303228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#303228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303228
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303228#FFFFFF#000000##FFFFFF
##3032281.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#333128
Tritanopia (blue-blind)
#31312F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303228;
/* rgb */ color: rgb(48, 50, 40);
/* oklch */ color: oklch(31.2% 0.018 116.6);
Tailwind
colors: {
  custom: {
    50: '#686961',
    500: '#303228',
    950: '#000000',
  },
}
SCSS
$custom: #303228;
$custom-light: #686961;
$custom-dark: #000000;
JSON
{
  "hex": "#303228",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.31177,
    "c": 0.0175,
    "h": 116.6
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#303228
secondary
#575462
accent
#74B481
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #303228

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

Preview Lab → · Contrast checker → · Palette generator →

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