#213002#213002

#213002 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.070 H 126.5°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#213002
RGBrgb(33, 48, 2)
HSLhsl(80, 92%, 10%)
HSVhsv(80, 96%, 19%)
CMYKcmyk(31.3%, 0%, 95.8%, 81.2%)
CIE-LABlab(17.65, -14.42, 24.15)
CIE-LCHlch(17.65, 28.13, 120.84°)
OKLaboklab(28.53% -0.0419 0.0567)
OKLCHoklch(28.53% 0.071 126.5)
XYZxyz(1.6951, 2.4416, 0.4394)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213002 #110230
analogous
#302802 #213002 #0A3002
triadic
#213002 #022130 #300221
tetradic
#213002 #023028 #110230 #30020A
square
#213002 #023028 #110230 #30020A
split-complementary
#213002 #020A30 #280230
monochromatic
#141D01 #141D01 #213002 #496B04 #72A607

Accessibility & contrast

On white

14.11
#213002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#213002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213002
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213002#FFFFFF#000000##FFFFFF
##2130021.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#232D27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213002;
/* rgb */ color: rgb(33, 48, 2);
/* oklch */ color: oklch(28.5% 0.070 126.5);
Tailwind
colors: {
  custom: {
    50: '#5e6848',
    500: '#213002',
    950: '#000000',
  },
}
SCSS
$custom: #213002;
$custom-light: #5e6848;
$custom-dark: #000000;
JSON
{
  "hex": "#213002",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 79.565,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28525,
    "c": 0.0705,
    "h": 126.5
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#213002
secondary
#371975
accent
#29FF6F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213002

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

Preview Lab → · Contrast checker → · Palette generator →

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