#21300A#21300A

#21300A is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.6% C 0.063 H 128.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#21300A
RGBrgb(33, 48, 10)
HSLhsl(84, 66%, 11%)
HSVhsv(84, 79%, 19%)
CMYKcmyk(31.3%, 0%, 79.2%, 81.2%)
CIE-LABlab(17.73, -13.65, 20.99)
CIE-LCHlch(17.73, 25.04, 123.04°)
OKLaboklab(28.62% -0.0388 0.0491)
OKLCHoklch(28.62% 0.063 128.3)
XYZxyz(1.7389, 2.4591, 0.6701)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21300A #190A30
analogous
#302C0A #21300A #0E300A
triadic
#21300A #0A2130 #300A21
tetradic
#21300A #0A302C #190A30 #300A0E
square
#21300A #0A302C #190A30 #300A0E
split-complementary
#21300A #0A0E30 #2C0A30
monochromatic
#111905 #111905 #21300A #446315 #67951F

Accessibility & contrast

On white

14.08
#21300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21300A
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21300A#FFFFFF#000000##FFFFFF
##21300A1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#222D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #21300a;
/* rgb */ color: rgb(33, 48, 10);
/* oklch */ color: oklch(28.6% 0.063 128.3);
Tailwind
colors: {
  custom: {
    50: '#5e684c',
    500: '#21300a',
    950: '#000000',
  },
}
SCSS
$custom: #21300a;
$custom-light: #5e684c;
$custom-dark: #000000;
JSON
{
  "hex": "#21300a",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 83.684,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28615,
    "c": 0.06254,
    "h": 128.3
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#21300A
secondary
#44296D
accent
#3FE882
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21300A

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

Preview Lab → · Contrast checker → · Palette generator →

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