#213C06#213C06

#213C06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.2% C 0.085 H 133.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#213C06
RGBrgb(33, 60, 6)
HSLhsl(90, 82%, 13%)
HSVhsv(90, 90%, 24%)
CMYKcmyk(45%, 0%, 90%, 76.5%)
CIE-LABlab(22.19, -20.49, 27.66)
CIE-LCHlch(22.19, 34.42, 126.54°)
OKLaboklab(32.24% -0.0578 0.0617)
OKLCHoklch(32.24% 0.085 133.1)
XYZxyz(2.2759, 3.5681, 0.7411)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C06 #21063C
analogous
#3C3C06 #213C06 #063C06
triadic
#213C06 #06213C #3C0621
tetradic
#213C06 #063C3C #21063C #3C0606
square
#213C06 #063C3C #21063C #3C0606
split-complementary
#213C06 #06063C #3C063C
monochromatic
#0F1C03 #0F1C03 #213C06 #40740C #5EAB11

Accessibility & contrast

On white

12.25
#213C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C06
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C06#FFFFFF#000000##FFFFFF
##213C061.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#213932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c06;
/* rgb */ color: rgb(33, 60, 6);
/* oklch */ color: oklch(32.2% 0.085 133.1);
Tailwind
colors: {
  custom: {
    50: '#5f724b',
    500: '#213c06',
    950: '#000000',
  },
}
SCSS
$custom: #213c06;
$custom-light: #5f724b;
$custom-dark: #000000;
JSON
{
  "hex": "#213c06",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 90,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.08456,
    "h": 133.1
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#213C06
secondary
#4F227C
accent
#30F894
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213C06

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

Preview Lab → · Contrast checker → · Palette generator →

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