#212F0D#212F0D

#212F0D is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.058 H 128.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#212F0D
RGBrgb(33, 47, 13)
HSLhsl(85, 57%, 12%)
HSVhsv(85, 72%, 18%)
CMYKcmyk(29.8%, 0%, 72.3%, 81.6%)
CIE-LABlab(17.39, -12.75, 19.25)
CIE-LCHlch(17.39, 23.09, 123.53°)
OKLaboklab(28.35% -0.036 0.0453)
OKLCHoklch(28.35% 0.058 128.5)
XYZxyz(1.7164, 2.3854, 0.7507)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F0D #1B0D2F
analogous
#2F2C0D #212F0D #102F0D
triadic
#212F0D #0D212F #2F0D21
tetradic
#212F0D #0D2F2C #1B0D2F #2F0D10
square
#212F0D #0D2F2C #1B0D2F #2F0D10
split-complementary
#212F0D #0D102F #2C0D2F
monochromatic
#111807 #111807 #212F0D #435F1A #648F28

Accessibility & contrast

On white

14.22
#212F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#212F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F0D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F0D#FFFFFF#000000##FFFFFF
##212F0D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B09
Deuteranopia (green-blind)
#302A0F
Tritanopia (blue-blind)
#222D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212f0d;
/* rgb */ color: rgb(33, 47, 13);
/* oklch */ color: oklch(28.3% 0.058 128.5);
Tailwind
colors: {
  custom: {
    50: '#5d674d',
    500: '#212f0d',
    950: '#000000',
  },
}
SCSS
$custom: #212f0d;
$custom-light: #5d674d;
$custom-dark: #000000;
JSON
{
  "hex": "#212f0d",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 84.706,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2835,
    "c": 0.05784,
    "h": 128.5
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#212F0D
secondary
#472E6A
accent
#48E086
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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