#212B0F#212B0F

#212B0F is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.049 H 125.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#212B0F
RGBrgb(33, 43, 15)
HSLhsl(81, 48%, 11%)
HSVhsv(81, 65%, 17%)
CMYKcmyk(23.3%, 0%, 65.1%, 83.1%)
CIE-LABlab(15.93, -10.10, 16.43)
CIE-LCHlch(15.93, 19.29, 121.56°)
OKLaboklab(27.18% -0.0284 0.0394)
OKLCHoklch(27.18% 0.049 125.8)
XYZxyz(1.5773, 2.0856, 0.7713)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B0F #190F2B
analogous
#2B270F #212B0F #132B0F
triadic
#212B0F #0F212B #2B0F21
tetradic
#212B0F #0F2B27 #190F2B #2B0F13
square
#212B0F #0F2B27 #190F2B #2B0F13
split-complementary
#212B0F #0F132B #270F2B
monochromatic
#111708 #111708 #212B0F #44581F #67862F

Accessibility & contrast

On white

14.82
#212B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#212B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B0F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B0F#FFFFFF#000000##FFFFFF
##212B0F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#2C2711
Tritanopia (blue-blind)
#222925
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212b0f;
/* rgb */ color: rgb(33, 43, 15);
/* oklch */ color: oklch(27.2% 0.049 125.8);
Tailwind
colors: {
  custom: {
    50: '#5d644e',
    500: '#212b0f',
    950: '#000000',
  },
}
SCSS
$custom: #212b0f;
$custom-light: #5d644e;
$custom-dark: #000000;
JSON
{
  "hex": "#212b0f",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 81.429,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27177,
    "c": 0.04853,
    "h": 125.8
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#212B0F
secondary
#443264
accent
#50D880
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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