#212D10#212D10

#212D10 is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.8% C 0.051 H 128.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#212D10
RGBrgb(33, 45, 16)
HSLhsl(85, 48%, 12%)
HSVhsv(85, 64%, 18%)
CMYKcmyk(26.7%, 0%, 64.4%, 82.4%)
CIE-LABlab(16.69, -11.19, 16.83)
CIE-LCHlch(16.69, 20.21, 123.62°)
OKLaboklab(27.79% -0.0313 0.0401)
OKLCHoklch(27.79% 0.051 128)
XYZxyz(1.6591, 2.2375, 0.8346)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D10 #1C102D
analogous
#2D2B10 #212D10 #132D10
triadic
#212D10 #10212D #2D1021
tetradic
#212D10 #102D2B #1C102D #2D1013
square
#212D10 #102D2B #1C102D #2D1013
split-complementary
#212D10 #10132D #2B102D
monochromatic
#111708 #111708 #212D10 #425A20 #638730

Accessibility & contrast

On white

14.51
#212D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#212D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D10
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D10#FFFFFF#000000##FFFFFF
##212D101.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0D
Deuteranopia (green-blind)
#2E2912
Tritanopia (blue-blind)
#222B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d10;
/* rgb */ color: rgb(33, 45, 16);
/* oklch */ color: oklch(27.8% 0.051 128.0);
Tailwind
colors: {
  custom: {
    50: '#5d664f',
    500: '#212d10',
    950: '#000000',
  },
}
SCSS
$custom: #212d10;
$custom-light: #5d664f;
$custom-dark: #000000;
JSON
{
  "hex": "#212d10",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 16
  },
  "hsl": {
    "h": 84.828,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27793,
    "c": 0.05088,
    "h": 128
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#212D10
secondary
#483366
accent
#51D788
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040502
muted
#797A78

Preview Lab

Preview with #212D10

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

Preview Lab → · Contrast checker → · Palette generator →

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