#213A03#213A03

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

Color values

HEX#213A03
RGBrgb(33, 58, 3)
HSLhsl(87, 90%, 12%)
HSVhsv(87, 95%, 23%)
CMYKcmyk(43.1%, 0%, 94.8%, 77.3%)
CIE-LABlab(21.42, -19.72, 28.05)
CIE-LCHlch(21.42, 34.29, 125.11°)
OKLaboklab(31.6% -0.0561 0.0627)
OKLCHoklch(31.6% 0.084 131.8)
XYZxyz(2.1567, 3.3559, 0.6203)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A03 #1C033A
analogous
#3A3803 #213A03 #053A03
triadic
#213A03 #03213A #3A0321
tetradic
#213A03 #033A38 #1C033A #3A0305
square
#213A03 #033A38 #1C033A #3A0305
split-complementary
#213A03 #03053A #38033A
monochromatic
#111D02 #111D02 #213A03 #427406 #63AE09

Accessibility & contrast

On white

12.57
#213A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213A03
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A03#FFFFFF#000000##FFFFFF
##213A031.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#223730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a03;
/* rgb */ color: rgb(33, 58, 3);
/* oklch */ color: oklch(31.6% 0.084 131.8);
Tailwind
colors: {
  custom: {
    50: '#5f7049',
    500: '#213a03',
    950: '#000000',
  },
}
SCSS
$custom: #213a03;
$custom-light: #5f7049;
$custom-dark: #000000;
JSON
{
  "hex": "#213a03",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 87.273,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31596,
    "c": 0.08408,
    "h": 131.8
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#213A03
secondary
#481C7D
accent
#29FF8A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A03

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

Preview Lab → · Contrast checker → · Palette generator →

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