#213B04#213B04

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

Color values

HEX#213B04
RGBrgb(33, 59, 4)
HSLhsl(88, 87%, 12%)
HSVhsv(88, 93%, 23%)
CMYKcmyk(44.1%, 0%, 93.2%, 76.9%)
CIE-LABlab(21.80, -20.15, 28.06)
CIE-LCHlch(21.80, 34.54, 125.68°)
OKLaboklab(31.91% -0.0571 0.0626)
OKLCHoklch(31.91% 0.085 132.4)
XYZxyz(2.2131, 3.4599, 0.6661)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B04 #1E043B
analogous
#3B3A04 #213B04 #053B04
triadic
#213B04 #04213B #3B0421
tetradic
#213B04 #043B3A #1E043B #3B0405
square
#213B04 #043B3A #1E043B #3B0405
split-complementary
#213B04 #04053B #3A043B
monochromatic
#101D02 #101D02 #213B04 #417408 #61AE0C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213B04#FFFFFF#000000##FFFFFF
##213B041.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)
#3A3409
Tritanopia (blue-blind)
#213831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b04;
/* rgb */ color: rgb(33, 59, 4);
/* oklch */ color: oklch(31.9% 0.085 132.4);
Tailwind
colors: {
  custom: {
    50: '#5f714a',
    500: '#213b04',
    950: '#000000',
  },
}
SCSS
$custom: #213b04;
$custom-light: #5f714a;
$custom-dark: #000000;
JSON
{
  "hex": "#213b04",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 88.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31912,
    "c": 0.08469,
    "h": 132.4
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#213B04
secondary
#4B1E7D
accent
#2AFD8E
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B04

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

Preview Lab → · Contrast checker → · Palette generator →

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