#21300D#21300D

#21300D is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.060 H 129.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#21300D
RGBrgb(33, 48, 13)
HSLhsl(86, 57%, 12%)
HSVhsv(86, 73%, 19%)
CMYKcmyk(31.3%, 0%, 72.9%, 81.2%)
CIE-LABlab(17.77, -13.34, 19.70)
CIE-LCHlch(17.77, 23.79, 124.11°)
OKLaboklab(28.65% -0.0376 0.0462)
OKLCHoklch(28.65% 0.06 129.1)
XYZxyz(1.7568, 2.4663, 0.7642)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21300D #1C0D30
analogous
#302E0D #21300D #10300D
triadic
#21300D #0D2130 #300D21
tetradic
#21300D #0D302E #1C0D30 #300D10
square
#21300D #0D302E #1C0D30 #300D10
split-complementary
#21300D #0D1030 #2E0D30
monochromatic
#111807 #111807 #21300D #42601A #639027

Accessibility & contrast

On white

14.06
#21300D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#21300D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21300D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21300D#FFFFFF#000000##FFFFFF
##21300D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C09
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#222E29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #21300d;
/* rgb */ color: rgb(33, 48, 13);
/* oklch */ color: oklch(28.7% 0.060 129.1);
Tailwind
colors: {
  custom: {
    50: '#5d684d',
    500: '#21300d',
    950: '#000000',
  },
}
SCSS
$custom: #21300d;
$custom-light: #5d684d;
$custom-dark: #000000;
JSON
{
  "hex": "#21300d",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 13
  },
  "hsl": {
    "h": 85.714,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28652,
    "c": 0.05955,
    "h": 129.1
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#21300D
secondary
#482E6B
accent
#47E189
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21300D

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

Preview Lab → · Contrast checker → · Palette generator →

#21300D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva