#213302#213302

#213302 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.4% C 0.075 H 128.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#213302
RGBrgb(33, 51, 2)
HSLhsl(82, 92%, 10%)
HSVhsv(82, 96%, 20%)
CMYKcmyk(35.3%, 0%, 96.1%, 80%)
CIE-LABlab(18.78, -16.10, 25.49)
CIE-LCHlch(18.78, 30.15, 122.27°)
OKLaboklab(29.44% -0.0465 0.0587)
OKLCHoklch(29.44% 0.075 128.4)
XYZxyz(1.8220, 2.6953, 0.4817)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213302 #140233
analogous
#332C02 #213302 #083302
triadic
#213302 #022133 #330221
tetradic
#213302 #02332C #140233 #330208
square
#213302 #02332C #140233 #330208
split-complementary
#213302 #020833 #2C0233
monochromatic
#131D01 #131D01 #213302 #476E04 #6DA907

Accessibility & contrast

On white

13.65
#213302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#213302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213302
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213302#FFFFFF#000000##FFFFFF
##2133021.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#342D06
Tritanopia (blue-blind)
#23302A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213302;
/* rgb */ color: rgb(33, 51, 2);
/* oklch */ color: oklch(29.4% 0.075 128.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a48',
    500: '#213302',
    950: '#000000',
  },
}
SCSS
$custom: #213302;
$custom-light: #5e6a48;
$custom-dark: #000000;
JSON
{
  "hex": "#213302",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 82.041,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.07488,
    "h": 128.4
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#213302
secondary
#3C1A77
accent
#29FF77
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213302

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

Preview Lab → · Contrast checker → · Palette generator →

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