#213D06#213D06

#213D06 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.5% C 0.086 H 133.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#213D06
RGBrgb(33, 61, 6)
HSLhsl(91, 82%, 13%)
HSVhsv(91, 90%, 24%)
CMYKcmyk(45.9%, 0%, 90.2%, 76.1%)
CIE-LABlab(22.56, -21.00, 28.05)
CIE-LCHlch(22.56, 35.04, 126.82°)
OKLaboklab(32.54% -0.0591 0.0625)
OKLCHoklch(32.54% 0.086 133.4)
XYZxyz(2.3288, 3.6739, 0.7587)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D06 #22063D
analogous
#3C3D06 #213D06 #063D06
triadic
#213D06 #06213D #3D0621
tetradic
#213D06 #063C3D #22063D #3D0606
square
#213D06 #063C3D #22063D #3D0606
split-complementary
#213D06 #06063D #3D063C
monochromatic
#0F1C03 #0F1C03 #213D06 #3F750B #5DAC11

Accessibility & contrast

On white

12.11
#213D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#213D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D06
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D06#FFFFFF#000000##FFFFFF
##213D061.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d06;
/* rgb */ color: rgb(33, 61, 6);
/* oklch */ color: oklch(32.5% 0.086 133.4);
Tailwind
colors: {
  custom: {
    50: '#60724b',
    500: '#213d06',
    950: '#000000',
  },
}
SCSS
$custom: #213d06;
$custom-light: #60724b;
$custom-dark: #000000;
JSON
{
  "hex": "#213d06",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 90.545,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32542,
    "c": 0.08602,
    "h": 133.4
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#213D06
secondary
#50227D
accent
#2FF896
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213D06

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

Preview Lab → · Contrast checker → · Palette generator →

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