#212907#212907

#212907 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.054 H 121.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#212907
RGBrgb(33, 41, 7)
HSLhsl(74, 71%, 9%)
HSVhsv(74, 83%, 16%)
CMYKcmyk(19.5%, 0%, 82.9%, 83.9%)
CIE-LABlab(15.09, -9.74, 18.92)
CIE-LCHlch(15.09, 21.28, 117.24°)
OKLaboklab(26.47% -0.0284 0.0463)
OKLCHoklch(26.47% 0.054 121.5)
XYZxyz(1.4585, 1.9245, 0.4956)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212907 #0F0729
analogous
#292007 #212907 #102907
triadic
#212907 #072129 #290721
tetradic
#212907 #072920 #0F0729 #290710
square
#212907 #072920 #0F0729 #290710
split-complementary
#212907 #071029 #200729
monochromatic
#151A04 #151A04 #212907 #4B5D10 #759219

Accessibility & contrast

On white

15.16
#212907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#212907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212907
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212907#FFFFFF#000000##FFFFFF
##2129071.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#2B2609
Tritanopia (blue-blind)
#232622
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #212907;
/* rgb */ color: rgb(33, 41, 7);
/* oklch */ color: oklch(26.5% 0.054 121.5);
Tailwind
colors: {
  custom: {
    50: '#5d624a',
    500: '#212907',
    950: '#000000',
  },
}
SCSS
$custom: #212907;
$custom-light: #5d624a;
$custom-dark: #000000;
JSON
{
  "hex": "#212907",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 74.118,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26465,
    "c": 0.05426,
    "h": 121.5
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#212907
secondary
#342369
accent
#3AEE64
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212907

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

Preview Lab → · Contrast checker → · Palette generator →

#212907 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva