#212B08#212B08

#212B08 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.056 H 123.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#212B08
RGBrgb(33, 43, 8)
HSLhsl(77, 69%, 10%)
HSVhsv(77, 81%, 17%)
CMYKcmyk(23.3%, 0%, 81.4%, 83.1%)
CIE-LABlab(15.84, -10.87, 19.48)
CIE-LCHlch(15.84, 22.31, 119.17°)
OKLaboklab(27.08% -0.0314 0.0468)
OKLCHoklch(27.08% 0.056 123.8)
XYZxyz(1.5349, 2.0686, 0.5481)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B08 #12082B
analogous
#2B2408 #212B08 #0F2B08
triadic
#212B08 #08212B #2B0821
tetradic
#212B08 #082B24 #12082B #2B080F
square
#212B08 #082B24 #12082B #2B080F
split-complementary
#212B08 #080F2B #24082B
monochromatic
#141A05 #141A05 #212B08 #495F12 #70921B

Accessibility & contrast

On white

14.85
#212B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#212B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B08
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B08#FFFFFF#000000##FFFFFF
##212B081.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212b08;
/* rgb */ color: rgb(33, 43, 8);
/* oklch */ color: oklch(27.1% 0.056 123.8);
Tailwind
colors: {
  custom: {
    50: '#5d644a',
    500: '#212b08',
    950: '#000000',
  },
}
SCSS
$custom: #212b08;
$custom-light: #5d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#212b08",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 77.143,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.27079,
    "c": 0.05637,
    "h": 123.8
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#212B08
secondary
#39256A
accent
#3CEB6E
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212B08

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

Preview Lab → · Contrast checker → · Palette generator →

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