#212F0E#212F0E

#212F0E is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.057 H 128.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#212F0E
RGBrgb(33, 47, 14)
HSLhsl(85, 54%, 12%)
HSVhsv(85, 70%, 18%)
CMYKcmyk(29.8%, 0%, 70.2%, 81.6%)
CIE-LABlab(17.40, -12.64, 18.77)
CIE-LCHlch(17.40, 22.63, 123.95°)
OKLaboklab(28.36% -0.0355 0.0442)
OKLCHoklch(28.36% 0.057 128.8)
XYZxyz(1.7230, 2.3880, 0.7855)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F0E #1C0E2F
analogous
#2F2D0E #212F0E #112F0E
triadic
#212F0E #0E212F #2F0E21
tetradic
#212F0E #0E2F2D #1C0E2F #2F0E11
square
#212F0E #0E2F2D #1C0E2F #2F0E11
split-complementary
#212F0E #0E112F #2D0E2F
monochromatic
#111807 #111807 #212F0E #425E1C #638D2A

Accessibility & contrast

On white

14.21
#212F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212F0E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F0E#FFFFFF#000000##FFFFFF
##212F0E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212f0e;
/* rgb */ color: rgb(33, 47, 14);
/* oklch */ color: oklch(28.4% 0.057 128.8);
Tailwind
colors: {
  custom: {
    50: '#5d674e',
    500: '#212f0e',
    950: '#000000',
  },
}
SCSS
$custom: #212f0e;
$custom-light: #5d674e;
$custom-dark: #000000;
JSON
{
  "hex": "#212f0e",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 85.455,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28364,
    "c": 0.05675,
    "h": 128.8
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#212F0E
secondary
#482F69
accent
#4ADD89
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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