#213B0D#213B0D

#213B0D is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.078 H 134.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#213B0D
RGBrgb(33, 59, 13)
HSLhsl(94, 64%, 14%)
HSVhsv(94, 78%, 23%)
CMYKcmyk(44.1%, 0%, 78%, 76.9%)
CIE-LABlab(21.87, -19.39, 24.36)
CIE-LCHlch(21.87, 31.13, 128.51°)
OKLaboklab(32% -0.0541 0.0556)
OKLCHoklch(32% 0.078 134.3)
XYZxyz(2.2638, 3.4802, 0.9332)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B0D #270D3B
analogous
#383B0D #213B0D #0D3B10
triadic
#213B0D #0D213B #3B0D21
tetradic
#213B0D #0D383B #270D3B #3B100D
square
#213B0D #0D383B #270D3B #3B100D
split-complementary
#213B0D #100D3B #3B0D38
monochromatic
#0E1906 #0E1906 #213B0D #3D6D18 #599F23

Accessibility & contrast

On white

12.38
#213B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B0D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B0D#FFFFFF#000000##FFFFFF
##213B0D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3607
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#213832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b0d;
/* rgb */ color: rgb(33, 59, 13);
/* oklch */ color: oklch(32.0% 0.078 134.3);
Tailwind
colors: {
  custom: {
    50: '#5f714e',
    500: '#213b0d',
    950: '#000000',
  },
}
SCSS
$custom: #213b0d;
$custom-light: #5f714e;
$custom-dark: #000000;
JSON
{
  "hex": "#213b0d",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 93.913,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.0776,
    "h": 134.3
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#213B0D
secondary
#572D77
accent
#41E79F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #213B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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