#212C00#212C00

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

Color values

HEX#212C00
RGBrgb(33, 44, 0)
HSLhsl(75, 100%, 9%)
HSVhsv(75, 100%, 17%)
CMYKcmyk(25%, 0%, 100%, 82.7%)
CIE-LABlab(16.13, -12.30, 23.09)
CIE-LCHlch(16.13, 26.16, 118.03°)
OKLaboklab(27.28% -0.0366 0.0561)
OKLCHoklch(27.28% 0.067 123.1)
XYZxyz(1.5279, 2.1247, 0.3296)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C00 #0B002C
analogous
#2C2100 #212C00 #0B2C00
triadic
#212C00 #00212C #2C0021
tetradic
#212C00 #002C21 #0B002C #2C000B
square
#212C00 #002C21 #0B002C #2C000B
split-complementary
#212C00 #000B2C #21002C
monochromatic
#171F00 #171F00 #212C00 #4F6900 #7DA600

Accessibility & contrast

On white

14.74
#212C00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212C00
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C00#FFFFFF#000000##FFFFFF
##212C001.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212c00;
/* rgb */ color: rgb(33, 44, 0);
/* oklch */ color: oklch(27.3% 0.067 123.1);
Tailwind
colors: {
  custom: {
    50: '#5d6547',
    500: '#212c00',
    950: '#000000',
  },
}
SCSS
$custom: #212c00;
$custom-light: #5d6547;
$custom-dark: #000000;
JSON
{
  "hex": "#212c00",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 0
  },
  "hsl": {
    "h": 75,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27282,
    "c": 0.06701,
    "h": 123.1
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#212C00
secondary
#2C1473
accent
#29FF5E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #212C00

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

Preview Lab → · Contrast checker → · Palette generator →

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