#213A0A#213A0A

#213A0A is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.078 H 133.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#213A0A
RGBrgb(33, 58, 10)
HSLhsl(91, 71%, 13%)
HSVhsv(91, 83%, 23%)
CMYKcmyk(43.1%, 0%, 82.8%, 77.3%)
CIE-LABlab(21.47, -19.14, 25.26)
CIE-LCHlch(21.47, 31.69, 127.14°)
OKLaboklab(31.66% -0.0537 0.0572)
OKLCHoklch(31.66% 0.078 133.2)
XYZxyz(2.1950, 3.3713, 0.8222)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A0A #230A3A
analogous
#393A0A #213A0A #0A3A0B
triadic
#213A0A #0A213A #3A0A21
tetradic
#213A0A #0A393A #230A3A #3A0B0A
square
#213A0A #0A393A #230A3A #3A0B0A
split-complementary
#213A0A #0B0A3A #3A0A39
monochromatic
#0F1A05 #0F1A05 #213A0A #3F6E13 #5CA21C

Accessibility & contrast

On white

12.54
#213A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A0A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A0A#FFFFFF#000000##FFFFFF
##213A0A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3504
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#213731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a0a;
/* rgb */ color: rgb(33, 58, 10);
/* oklch */ color: oklch(31.7% 0.078 133.2);
Tailwind
colors: {
  custom: {
    50: '#5f704d',
    500: '#213a0a',
    950: '#000000',
  },
}
SCSS
$custom: #213a0a;
$custom-light: #5f704d;
$custom-dark: #000000;
JSON
{
  "hex": "#213a0a",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 91.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31661,
    "c": 0.07848,
    "h": 133.2
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#213A0A
secondary
#522877
accent
#3AED98
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A0A

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

Preview Lab → · Contrast checker → · Palette generator →

#213A0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva