#283121#283121

#283121 is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.031 H 131.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#283121
RGBrgb(40, 49, 33)
HSLhsl(94, 20%, 16%)
HSVhsv(94, 33%, 19%)
CMYKcmyk(18.4%, 0%, 32.7%, 80.8%)
CIE-LABlab(19.05, -7.54, 8.98)
CIE-LCHlch(19.05, 11.73, 130.00°)
OKLaboklab(29.94% -0.0204 0.0227)
OKLCHoklch(29.94% 0.031 131.9)
XYZxyz(2.2478, 2.7575, 1.8524)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283121 #2A2131
analogous
#303121 #283121 #213122
triadic
#283121 #212831 #312128
tetradic
#283121 #213031 #2A2131 #312221
square
#283121 #213031 #2A2131 #312221
split-complementary
#283121 #222131 #312130
monochromatic
#0F120C #0F120C #283121 #46563A #647A52

Accessibility & contrast

On white

13.53
#283121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#283121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283121
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283121#FFFFFF#000000##FFFFFF
##2831211.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322F20
Deuteranopia (green-blind)
#312E22
Tritanopia (blue-blind)
#28302D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #283121;
/* rgb */ color: rgb(40, 49, 33);
/* oklch */ color: oklch(29.9% 0.031 131.9);
Tailwind
colors: {
  custom: {
    50: '#62695c',
    500: '#283121',
    950: '#000000',
  },
}
SCSS
$custom: #283121;
$custom-light: #62695c;
$custom-dark: #000000;
JSON
{
  "hex": "#283121",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 33
  },
  "hsl": {
    "h": 93.75,
    "s": 19.512,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.03051,
    "h": 131.9
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#283121
secondary
#584B63
accent
#6CBC99
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #283121

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

Preview Lab → · Contrast checker → · Palette generator →

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