#212F09#212F09

#212F09 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.062 H 127.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#212F09
RGBrgb(33, 47, 9)
HSLhsl(82, 68%, 11%)
HSVhsv(82, 81%, 18%)
CMYKcmyk(29.8%, 0%, 80.9%, 81.6%)
CIE-LABlab(17.35, -13.16, 20.93)
CIE-LCHlch(17.35, 24.73, 122.17°)
OKLaboklab(28.3% -0.0375 0.0492)
OKLCHoklch(28.3% 0.062 127.4)
XYZxyz(1.6930, 2.3761, 0.6278)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F09 #17092F
analogous
#2F2A09 #212F09 #0E2F09
triadic
#212F09 #09212F #2F0921
tetradic
#212F09 #092F2A #17092F #2F090E
square
#212F09 #092F2A #17092F #2F090E
split-complementary
#212F09 #090E2F #2A092F
monochromatic
#121A05 #121A05 #212F09 #456213 #69961D

Accessibility & contrast

On white

14.24
#212F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212F09
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F09#FFFFFF#000000##FFFFFF
##212F091.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B05
Deuteranopia (green-blind)
#302A0C
Tritanopia (blue-blind)
#232C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212f09;
/* rgb */ color: rgb(33, 47, 9);
/* oklch */ color: oklch(28.3% 0.062 127.4);
Tailwind
colors: {
  custom: {
    50: '#5d674b',
    500: '#212f09',
    950: '#000000',
  },
}
SCSS
$custom: #212f09;
$custom-light: #5d674b;
$custom-dark: #000000;
JSON
{
  "hex": "#212f09",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 82.105,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28301,
    "c": 0.06186,
    "h": 127.4
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#212F09
secondary
#41276D
accent
#3DEB7D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212F09

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

Preview Lab → · Contrast checker → · Palette generator →

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