#213A0C#213A0C

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

Color values

HEX#213A0C
RGBrgb(33, 58, 12)
HSLhsl(93, 66%, 14%)
HSVhsv(93, 79%, 23%)
CMYKcmyk(43.1%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.49, -18.96, 24.42)
CIE-LCHlch(21.49, 30.92, 127.83°)
OKLaboklab(31.68% -0.0531 0.0556)
OKLCHoklch(31.68% 0.077 133.7)
XYZxyz(2.2066, 3.3759, 0.8831)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A0C #250C3A
analogous
#383A0C #213A0C #0C3A0E
triadic
#213A0C #0C213A #3A0C21
tetradic
#213A0C #0C383A #250C3A #3A0E0C
square
#213A0C #0C383A #250C3A #3A0E0C
split-complementary
#213A0C #0E0C3A #3A0C38
monochromatic
#0E1905 #0E1905 #213A0C #3E6D16 #5B9F21

Accessibility & contrast

On white

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

On black

1.68
#213A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##213A0C#FFFFFF#000000##FFFFFF
##213A0C1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#213731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213a0c;
/* rgb */ color: rgb(33, 58, 12);
/* oklch */ color: oklch(31.7% 0.077 133.7);
Tailwind
colors: {
  custom: {
    50: '#5f704e',
    500: '#213a0c',
    950: '#000000',
  },
}
SCSS
$custom: #213a0c;
$custom-light: #5f704e;
$custom-dark: #000000;
JSON
{
  "hex": "#213a0c",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 92.609,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.07687,
    "h": 133.7
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#213A0C
secondary
#542C76
accent
#3FE99B
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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