#212703#212703

#212703 is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.056 H 118.5°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#212703
RGBrgb(33, 39, 3)
HSLhsl(70, 86%, 8%)
HSVhsv(70, 92%, 15%)
CMYKcmyk(15.4%, 0%, 92.3%, 84.7%)
CIE-LABlab(14.29, -8.91, 19.53)
CIE-LCHlch(14.29, 21.46, 114.54°)
OKLaboklab(25.81% -0.0268 0.0493)
OKLCHoklch(25.81% 0.056 118.5)
XYZxyz(1.3692, 1.7810, 0.3578)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212703 #090327
analogous
#271B03 #212703 #0F2703
triadic
#212703 #032127 #270321
tetradic
#212703 #03271B #090327 #27030F
square
#212703 #03271B #090327 #27030F
split-complementary
#212703 #030F27 #1B0327
monochromatic
#181C02 #181C02 #212703 #516007 #81990C

Accessibility & contrast

On white

15.48
#212703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#212703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212703
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212703#FFFFFF#000000##FFFFFF
##2127031.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#242420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #212703;
/* rgb */ color: rgb(33, 39, 3);
/* oklch */ color: oklch(25.8% 0.056 118.5);
Tailwind
colors: {
  custom: {
    50: '#5d6148',
    500: '#212703',
    950: '#000000',
  },
}
SCSS
$custom: #212703;
$custom-light: #5d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#212703",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 3
  },
  "hsl": {
    "h": 70,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2581,
    "c": 0.05607,
    "h": 118.5
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#212703
secondary
#281B6B
accent
#2CFC4F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #212703

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

Preview Lab → · Contrast checker → · Palette generator →

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