#212803#212803

#212803 is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 26.1% C 0.058 H 119.7°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#212803
RGBrgb(33, 40, 3)
HSLhsl(71, 86%, 8%)
HSVhsv(71, 93%, 16%)
CMYKcmyk(17.5%, 0%, 92.5%, 84.3%)
CIE-LABlab(14.67, -9.54, 20.01)
CIE-LCHlch(14.67, 22.17, 115.50°)
OKLaboklab(26.11% -0.0285 0.05)
OKLCHoklch(26.11% 0.058 119.7)
XYZxyz(1.4025, 1.8475, 0.3689)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212803 #0A0328
analogous
#281C03 #212803 #0E2803
triadic
#212803 #032128 #280321
tetradic
#212803 #03281C #0A0328 #28030E
square
#212803 #03281C #0A0328 #28030E
split-complementary
#212803 #030E28 #1C0328
monochromatic
#171C02 #171C02 #212803 #506107 #7F9A0C

Accessibility & contrast

On white

15.34
#212803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#212803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212803
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212803#FFFFFF#000000##FFFFFF
##2128031.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#242521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #212803;
/* rgb */ color: rgb(33, 40, 3);
/* oklch */ color: oklch(26.1% 0.058 119.7);
Tailwind
colors: {
  custom: {
    50: '#5d6148',
    500: '#212803',
    950: '#000000',
  },
}
SCSS
$custom: #212803;
$custom-light: #5d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#212803",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 71.351,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26111,
    "c": 0.05754,
    "h": 119.7
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#212803
secondary
#2A1B6C
accent
#2CFC53
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #212803

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

Preview Lab → · Contrast checker → · Palette generator →

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