#213903#213903

#213903 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.083 H 131.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#213903
RGBrgb(33, 57, 3)
HSLhsl(87, 90%, 12%)
HSVhsv(87, 95%, 22%)
CMYKcmyk(42.1%, 0%, 94.7%, 77.6%)
CIE-LABlab(21.04, -19.21, 27.65)
CIE-LCHlch(21.04, 33.66, 124.80°)
OKLaboklab(31.29% -0.0547 0.062)
OKLCHoklch(31.29% 0.083 131.4)
XYZxyz(2.1067, 3.2561, 0.6036)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213903 #1B0339
analogous
#393603 #213903 #063903
triadic
#213903 #032139 #390321
tetradic
#213903 #033936 #1B0339 #390306
square
#213903 #033936 #1B0339 #390306
split-complementary
#213903 #030639 #360339
monochromatic
#111D02 #111D02 #213903 #437306 #64AD09

Accessibility & contrast

On white

12.72
#213903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#213903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213903
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213903#FFFFFF#000000##FFFFFF
##2139031.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#22362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213903;
/* rgb */ color: rgb(33, 57, 3);
/* oklch */ color: oklch(31.3% 0.083 131.4);
Tailwind
colors: {
  custom: {
    50: '#5f6f49',
    500: '#213903',
    950: '#000000',
  },
}
SCSS
$custom: #213903;
$custom-light: #5f6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#213903",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 86.667,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3129,
    "c": 0.08264,
    "h": 131.4
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#213903
secondary
#471C7C
accent
#29FF88
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213903

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

Preview Lab → · Contrast checker → · Palette generator →

#213903 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva