#213803#213803

#213803 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.081 H 131.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#213803
RGBrgb(33, 56, 3)
HSLhsl(86, 90%, 12%)
HSVhsv(86, 95%, 22%)
CMYKcmyk(41.1%, 0%, 94.6%, 78%)
CIE-LABlab(20.67, -18.69, 27.23)
CIE-LCHlch(20.67, 33.03, 124.46°)
OKLaboklab(30.98% -0.0533 0.0613)
OKLCHoklch(30.98% 0.081 131)
XYZxyz(2.0578, 3.1582, 0.5873)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213803 #1A0338
analogous
#383503 #213803 #063803
triadic
#213803 #032138 #380321
tetradic
#213803 #033835 #1A0338 #380306
square
#213803 #033835 #1A0338 #380306
split-complementary
#213803 #030638 #350338
monochromatic
#111D02 #111D02 #213803 #437206 #65AC09

Accessibility & contrast

On white

12.87
#213803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#213803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213803
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213803#FFFFFF#000000##FFFFFF
##2138031.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#22352E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213803;
/* rgb */ color: rgb(33, 56, 3);
/* oklch */ color: oklch(31.0% 0.081 131.0);
Tailwind
colors: {
  custom: {
    50: '#5f6e49',
    500: '#213803',
    950: '#000000',
  },
}
SCSS
$custom: #213803;
$custom-light: #5f6e49;
$custom-dark: #000000;
JSON
{
  "hex": "#213803",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 86.038,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30984,
    "c": 0.0812,
    "h": 131
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#213803
secondary
#451C7B
accent
#29FF86
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213803

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

Preview Lab → · Contrast checker → · Palette generator →

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