#212D03#212D03

#212D03 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.065 H 124.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#212D03
RGBrgb(33, 45, 3)
HSLhsl(77, 88%, 9%)
HSVhsv(77, 93%, 18%)
CMYKcmyk(26.7%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.54, -12.58, 22.38)
CIE-LCHlch(16.54, 25.67, 119.35°)
OKLaboklab(27.62% -0.0368 0.0536)
OKLCHoklch(27.62% 0.065 124.5)
XYZxyz(1.5820, 2.2067, 0.4287)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D03 #0F032D
analogous
#2D2403 #212D03 #0C2D03
triadic
#212D03 #03212D #2D0321
tetradic
#212D03 #032D24 #0F032D #2D030C
square
#212D03 #032D24 #0F032D #2D030C
split-complementary
#212D03 #030C2D #24032D
monochromatic
#151D02 #151D02 #212D03 #4B6607 #75A00B

Accessibility & contrast

On white

14.57
#212D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#212D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D03
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D03#FFFFFF#000000##FFFFFF
##212D031.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#232A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d03;
/* rgb */ color: rgb(33, 45, 3);
/* oklch */ color: oklch(27.6% 0.065 124.5);
Tailwind
colors: {
  custom: {
    50: '#5d6648',
    500: '#212d03',
    950: '#000000',
  },
}
SCSS
$custom: #212d03;
$custom-light: #5d6648;
$custom-dark: #000000;
JSON
{
  "hex": "#212d03",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 77.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27623,
    "c": 0.06498,
    "h": 124.5
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#212D03
secondary
#341B71
accent
#2AFE67
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #212D03

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

Preview Lab → · Contrast checker → · Palette generator →

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