#213A06#213A06

#213A06 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.6% C 0.082 H 132.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#213A06
RGBrgb(33, 58, 6)
HSLhsl(89, 81%, 13%)
HSVhsv(89, 90%, 23%)
CMYKcmyk(43.1%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.44, -19.47, 26.86)
CIE-LCHlch(21.44, 33.17, 125.94°)
OKLaboklab(31.62% -0.055 0.0603)
OKLCHoklch(31.62% 0.082 132.4)
XYZxyz(2.1731, 3.3625, 0.7068)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A06 #1F063A
analogous
#3A3906 #213A06 #073A06
triadic
#213A06 #06213A #3A0621
tetradic
#213A06 #063A39 #1F063A #3A0607
square
#213A06 #063A39 #1F063A #3A0607
split-complementary
#213A06 #06073A #39063A
monochromatic
#101C03 #101C03 #213A06 #41710C #60A911

Accessibility & contrast

On white

12.56
#213A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A06
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A06#FFFFFF#000000##FFFFFF
##213A061.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#39330B
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a06;
/* rgb */ color: rgb(33, 58, 6);
/* oklch */ color: oklch(31.6% 0.082 132.4);
Tailwind
colors: {
  custom: {
    50: '#5f704b',
    500: '#213a06',
    950: '#000000',
  },
}
SCSS
$custom: #213a06;
$custom-light: #5f704b;
$custom-dark: #000000;
JSON
{
  "hex": "#213a06",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 88.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.08162,
    "h": 132.4
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#213A06
secondary
#4C227A
accent
#30F890
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A06

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

Preview Lab → · Contrast checker → · Palette generator →

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