#213B06#213B06

#213B06 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 31.9% C 0.083 H 132.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#213B06
RGBrgb(33, 59, 6)
HSLhsl(89, 82%, 13%)
HSVhsv(89, 90%, 23%)
CMYKcmyk(44.1%, 0%, 89.8%, 76.9%)
CIE-LABlab(21.81, -19.98, 27.26)
CIE-LCHlch(21.81, 33.80, 126.25°)
OKLaboklab(31.93% -0.0564 0.061)
OKLCHoklch(31.93% 0.083 132.8)
XYZxyz(2.2240, 3.4643, 0.7238)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B06 #20063B
analogous
#3B3A06 #213B06 #073B06
triadic
#213B06 #06213B #3B0621
tetradic
#213B06 #063B3A #20063B #3B0607
square
#213B06 #063B3A #20063B #3B0607
split-complementary
#213B06 #06073B #3A063B
monochromatic
#101C03 #101C03 #213B06 #40730C #5FAA11

Accessibility & contrast

On white

12.41
#213B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#213B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B06
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B06#FFFFFF#000000##FFFFFF
##213B061.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A340B
Tritanopia (blue-blind)
#213831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b06;
/* rgb */ color: rgb(33, 59, 6);
/* oklch */ color: oklch(31.9% 0.083 132.8);
Tailwind
colors: {
  custom: {
    50: '#5f714b',
    500: '#213b06',
    950: '#000000',
  },
}
SCSS
$custom: #213b06;
$custom-light: #5f714b;
$custom-dark: #000000;
JSON
{
  "hex": "#213b06",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 89.434,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.08309,
    "h": 132.8
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#213B06
secondary
#4E227B
accent
#30F892
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B06

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

Preview Lab → · Contrast checker → · Palette generator →

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