#212900#212900

#212900 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.063 H 120.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#212900
RGBrgb(33, 41, 0)
HSLhsl(72, 100%, 8%)
HSVhsv(72, 100%, 16%)
CMYKcmyk(19.5%, 0%, 100%, 83.9%)
CIE-LABlab(15.00, -10.48, 21.67)
CIE-LCHlch(15.00, 24.07, 115.82°)
OKLaboklab(26.37% -0.0317 0.0542)
OKLCHoklch(26.37% 0.063 120.3)
XYZxyz(1.4202, 1.9092, 0.2937)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212900 #080029
analogous
#291C00 #212900 #0C2900
triadic
#212900 #002129 #290021
tetradic
#212900 #00291C #080029 #29000C
square
#212900 #00291C #080029 #29000C
split-complementary
#212900 #000C29 #1C0029
monochromatic
#191F00 #191F00 #212900 #526600 #84A300

Accessibility & contrast

On white

15.20
#212900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#212900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212900
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212900#FFFFFF#000000##FFFFFF
##2129001.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#242621
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #212900;
/* rgb */ color: rgb(33, 41, 0);
/* oklch */ color: oklch(26.4% 0.063 120.3);
Tailwind
colors: {
  custom: {
    50: '#5d6246',
    500: '#212900',
    950: '#000000',
  },
}
SCSS
$custom: #212900;
$custom-light: #5d6246;
$custom-dark: #000000;
JSON
{
  "hex": "#212900",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 71.707,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26372,
    "c": 0.06282,
    "h": 120.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#212900
secondary
#261471
accent
#29FF53
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #212900

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

Preview Lab → · Contrast checker → · Palette generator →

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