#213B03#213B03

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

Color values

HEX#213B03
RGBrgb(33, 59, 3)
HSLhsl(88, 90%, 12%)
HSVhsv(88, 95%, 23%)
CMYKcmyk(44.1%, 0%, 94.9%, 76.9%)
CIE-LABlab(21.79, -20.23, 28.46)
CIE-LCHlch(21.79, 34.92, 125.41°)
OKLaboklab(31.9% -0.0574 0.0633)
OKLCHoklch(31.9% 0.086 132.2)
XYZxyz(2.2076, 3.4577, 0.6372)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B03 #1D033B
analogous
#3B3903 #213B03 #053B03
triadic
#213B03 #03213B #3B0321
tetradic
#213B03 #033B39 #1D033B #3B0305
square
#213B03 #033B39 #1D033B #3B0305
split-complementary
#213B03 #03053B #39033B
monochromatic
#101D01 #101D01 #213B03 #427506 #62AF09

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213B03#FFFFFF#000000##FFFFFF
##213B031.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)
#3E3500
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#213831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b03;
/* rgb */ color: rgb(33, 59, 3);
/* oklch */ color: oklch(31.9% 0.086 132.2);
Tailwind
colors: {
  custom: {
    50: '#5f7149',
    500: '#213b03',
    950: '#000000',
  },
}
SCSS
$custom: #213b03;
$custom-light: #5f7149;
$custom-dark: #000000;
JSON
{
  "hex": "#213b03",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 87.857,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.0855,
    "h": 132.2
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#213B03
secondary
#491C7E
accent
#29FF8C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B03

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

Preview Lab → · Contrast checker → · Palette generator →

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