#213D12#213D12

#213D12 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.076 H 136.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#213D12
RGBrgb(33, 61, 18)
HSLhsl(99, 54%, 15%)
HSVhsv(99, 70%, 24%)
CMYKcmyk(45.9%, 0%, 70.5%, 76.1%)
CIE-LABlab(22.67, -19.89, 22.66)
CIE-LCHlch(22.67, 30.15, 131.27°)
OKLaboklab(32.66% -0.0551 0.0527)
OKLCHoklch(32.66% 0.076 136.3)
XYZxyz(2.4051, 3.7044, 1.1604)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D12 #2E123D
analogous
#363D12 #213D12 #123D18
triadic
#213D12 #12213D #3D1221
tetradic
#213D12 #12363D #2E123D #3D1812
square
#213D12 #12363D #2E123D #3D1812
split-complementary
#213D12 #18123D #3D1236
monochromatic
#0D1807 #0D1807 #213D12 #3B6C20 #549C2E

Accessibility & contrast

On white

12.06
#213D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#213D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D12
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D12#FFFFFF#000000##FFFFFF
##213D121.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380D
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#203B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d12;
/* rgb */ color: rgb(33, 61, 18);
/* oklch */ color: oklch(32.7% 0.076 136.3);
Tailwind
colors: {
  custom: {
    50: '#5f7252',
    500: '#213d12',
    950: '#000000',
  },
}
SCSS
$custom: #213d12;
$custom-light: #5f7252;
$custom-dark: #000000;
JSON
{
  "hex": "#213d12",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 99.07,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32663,
    "c": 0.0762,
    "h": 136.3
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#213D12
secondary
#5F3576
accent
#4ADEAA
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213D12

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

Preview Lab → · Contrast checker → · Palette generator →

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