#213003#213003

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

Color values

HEX#213003
RGBrgb(33, 48, 3)
HSLhsl(80, 88%, 10%)
HSVhsv(80, 94%, 19%)
CMYKcmyk(31.3%, 0%, 93.8%, 81.2%)
CIE-LABlab(17.66, -14.32, 23.76)
CIE-LCHlch(17.66, 27.74, 121.09°)
OKLaboklab(28.54% -0.0415 0.0557)
OKLCHoklch(28.54% 0.069 126.7)
XYZxyz(1.7006, 2.4438, 0.4682)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213003 #120330
analogous
#302803 #213003 #0B3003
triadic
#213003 #032130 #300321
tetradic
#213003 #033028 #120330 #30030B
square
#213003 #033028 #120330 #30030B
split-complementary
#213003 #030B30 #280330
monochromatic
#141D02 #141D02 #213003 #496A07 #70A30A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213003#FFFFFF#000000##FFFFFF
##2130031.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)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213003;
/* rgb */ color: rgb(33, 48, 3);
/* oklch */ color: oklch(28.5% 0.069 126.7);
Tailwind
colors: {
  custom: {
    50: '#5e6848',
    500: '#213003',
    950: '#000000',
  },
}
SCSS
$custom: #213003;
$custom-light: #5e6848;
$custom-dark: #000000;
JSON
{
  "hex": "#213003",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 3
  },
  "hsl": {
    "h": 80,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.28536,
    "c": 0.06945,
    "h": 126.7
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#213003
secondary
#391B73
accent
#29FE70
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213003

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

Preview Lab → · Contrast checker → · Palette generator →

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