#212A0E#212A0E

#212A0E is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.048 H 124.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#212A0E
RGBrgb(33, 42, 14)
HSLhsl(79, 50%, 11%)
HSVhsv(79, 67%, 16%)
CMYKcmyk(21.4%, 0%, 66.7%, 83.5%)
CIE-LABlab(15.54, -9.60, 16.46)
CIE-LCHlch(15.54, 19.06, 120.25°)
OKLaboklab(26.86% -0.0271 0.0396)
OKLCHoklch(26.86% 0.048 124.4)
XYZxyz(1.5344, 2.0110, 0.7227)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A0E #170E2A
analogous
#2A250E #212A0E #132A0E
triadic
#212A0E #0E212A #2A0E21
tetradic
#212A0E #0E2A25 #170E2A #2A0E13
square
#212A0E #0E2A25 #170E2A #2A0E13
split-complementary
#212A0E #0E132A #250E2A
monochromatic
#121708 #121708 #212A0E #45581D #69862D

Accessibility & contrast

On white

14.98
#212A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#212A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212A0E
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A0E#FFFFFF#000000##FFFFFF
##212A0E1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270B
Deuteranopia (green-blind)
#2B2710
Tritanopia (blue-blind)
#232824
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212a0e;
/* rgb */ color: rgb(33, 42, 14);
/* oklch */ color: oklch(26.9% 0.048 124.4);
Tailwind
colors: {
  custom: {
    50: '#5d634d',
    500: '#212a0e',
    950: '#000000',
  },
}
SCSS
$custom: #212a0e;
$custom-light: #5d634d;
$custom-dark: #000000;
JSON
{
  "hex": "#212a0e",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 79.286,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26862,
    "c": 0.04799,
    "h": 124.4
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#212A0E
secondary
#413064
accent
#4EDA7B
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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