#213A0D#213A0D

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

Color values

HEX#213A0D
RGBrgb(33, 58, 13)
HSLhsl(93, 63%, 14%)
HSVhsv(93, 78%, 23%)
CMYKcmyk(43.1%, 0%, 77.6%, 77.3%)
CIE-LABlab(21.50, -18.86, 23.96)
CIE-LCHlch(21.50, 30.50, 128.21°)
OKLaboklab(31.69% -0.0527 0.0548)
OKLCHoklch(31.69% 0.076 133.9)
XYZxyz(2.2129, 3.3784, 0.9162)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A0D #260D3A
analogous
#383A0D #213A0D #0D3A10
triadic
#213A0D #0D213A #3A0D21
tetradic
#213A0D #0D383A #260D3A #3A100D
square
#213A0D #0D383A #260D3A #3A100D
split-complementary
#213A0D #100D3A #3A0D38
monochromatic
#0E1906 #0E1906 #213A0D #3D6C18 #5A9E23

Accessibility & contrast

On white

12.53
#213A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213A0D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A0D#FFFFFF#000000##FFFFFF
##213A0D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213a0d;
/* rgb */ color: rgb(33, 58, 13);
/* oklch */ color: oklch(31.7% 0.076 133.9);
Tailwind
colors: {
  custom: {
    50: '#5f704e',
    500: '#213a0d',
    950: '#000000',
  },
}
SCSS
$custom: #213a0d;
$custom-light: #5f704e;
$custom-dark: #000000;
JSON
{
  "hex": "#213a0d",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 93.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31691,
    "c": 0.07601,
    "h": 133.9
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#213A0D
secondary
#552D76
accent
#41E69D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #213A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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