#283221#283221

#283221 is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.2% C 0.033 H 132.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#283221
RGBrgb(40, 50, 33)
HSLhsl(95, 20%, 16%)
HSVhsv(95, 34%, 20%)
CMYKcmyk(20%, 0%, 34%, 80.4%)
CIE-LABlab(19.40, -8.17, 9.47)
CIE-LCHlch(19.40, 12.51, 130.81°)
OKLaboklab(30.23% -0.0221 0.0239)
OKLCHoklch(30.23% 0.033 132.8)
XYZxyz(2.2901, 2.8421, 1.8665)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283221 #2B2132
analogous
#313221 #283221 #213223
triadic
#283221 #212832 #322128
tetradic
#283221 #213132 #2B2132 #322321
square
#283221 #213132 #2B2132 #322321
split-complementary
#283221 #232132 #322131
monochromatic
#0F120C #0F120C #283221 #455739 #637C52

Accessibility & contrast

On white

13.39
#283221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283221
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283221#FFFFFF#000000##FFFFFF
##2832211.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333020
Deuteranopia (green-blind)
#322F22
Tritanopia (blue-blind)
#28312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283221;
/* rgb */ color: rgb(40, 50, 33);
/* oklch */ color: oklch(30.2% 0.033 132.8);
Tailwind
colors: {
  custom: {
    50: '#62695c',
    500: '#283221',
    950: '#000000',
  },
}
SCSS
$custom: #283221;
$custom-light: #62695c;
$custom-dark: #000000;
JSON
{
  "hex": "#283221",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 33
  },
  "hsl": {
    "h": 95.294,
    "s": 20.482,
    "l": 16.275
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.03256,
    "h": 132.8
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#283221
secondary
#5A4B64
accent
#6BBD9B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #283221

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

Preview Lab → · Contrast checker → · Palette generator →

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