#212C03#212C03

#212C03 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.063 H 123.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#212C03
RGBrgb(33, 44, 3)
HSLhsl(76, 87%, 9%)
HSVhsv(76, 93%, 17%)
CMYKcmyk(25%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.16, -11.99, 21.91)
CIE-LCHlch(16.16, 24.98, 118.68°)
OKLaboklab(27.32% -0.0352 0.0528)
OKLCHoklch(27.32% 0.063 123.7)
XYZxyz(1.5443, 2.1313, 0.4161)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C03 #0E032C
analogous
#2C2303 #212C03 #0D2C03
triadic
#212C03 #03212C #2C0321
tetradic
#212C03 #032C23 #0E032C #2C030D
square
#212C03 #032C23 #0E032C #2C030D
split-complementary
#212C03 #030D2C #23032C
monochromatic
#151D02 #151D02 #212C03 #4C6507 #779F0B

Accessibility & contrast

On white

14.72
#212C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C03
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C03#FFFFFF#000000##FFFFFF
##212C031.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#232924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212c03;
/* rgb */ color: rgb(33, 44, 3);
/* oklch */ color: oklch(27.3% 0.063 123.7);
Tailwind
colors: {
  custom: {
    50: '#5d6548',
    500: '#212c03',
    950: '#000000',
  },
}
SCSS
$custom: #212c03;
$custom-light: #5d6548;
$custom-dark: #000000;
JSON
{
  "hex": "#212c03",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 76.098,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27319,
    "c": 0.06349,
    "h": 123.7
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#212C03
secondary
#321B70
accent
#2AFD63
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #212C03

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

Preview Lab → · Contrast checker → · Palette generator →

#212C03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva