#21400D#21400D

#21400D is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.085 H 135.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#21400D
RGBrgb(33, 64, 13)
HSLhsl(96, 66%, 15%)
HSVhsv(96, 80%, 25%)
CMYKcmyk(48.4%, 0%, 79.7%, 74.9%)
CIE-LABlab(23.73, -21.91, 26.30)
CIE-LCHlch(23.73, 34.24, 129.80°)
OKLaboklab(33.52% -0.061 0.0596)
OKLCHoklch(33.52% 0.085 135.7)
XYZxyz(2.5332, 4.0190, 1.0230)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21400D #2C0D40
analogous
#3A400D #21400D #0D4013
triadic
#21400D #0D2140 #400D21
tetradic
#21400D #0D3A40 #2C0D40 #40130D
square
#21400D #0D3A40 #2C0D40 #40130D
split-complementary
#21400D #130D40 #400D3A
monochromatic
#0D1905 #0D1905 #21400D #3B7317 #55A622

Accessibility & contrast

On white

11.64
#21400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#21400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21400D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21400D#FFFFFF#000000##FFFFFF
##21400D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#3E3812
Tritanopia (blue-blind)
#203D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #21400d;
/* rgb */ color: rgb(33, 64, 13);
/* oklch */ color: oklch(33.5% 0.085 135.7);
Tailwind
colors: {
  custom: {
    50: '#60754f',
    500: '#21400d',
    950: '#000000',
  },
}
SCSS
$custom: #21400d;
$custom-light: #60754f;
$custom-dark: #000000;
JSON
{
  "hex": "#21400d",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 96.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.08533,
    "h": 135.7
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#21400D
secondary
#5D2D7C
accent
#3FE9A6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21400D

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

Preview Lab → · Contrast checker → · Palette generator →

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