#21400A#21400A

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

Color values

HEX#21400A
RGBrgb(33, 64, 10)
HSLhsl(94, 73%, 15%)
HSVhsv(94, 84%, 25%)
CMYKcmyk(48.4%, 0%, 84.4%, 74.9%)
CIE-LABlab(23.71, -22.17, 27.59)
CIE-LCHlch(23.71, 35.39, 128.78°)
OKLaboklab(33.49% -0.0619 0.0618)
OKLCHoklch(33.49% 0.088 135.1)
XYZxyz(2.5153, 4.0119, 0.9289)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21400A #290A40
analogous
#3C400A #21400A #0A400E
triadic
#21400A #0A2140 #400A21
tetradic
#21400A #0A3C40 #290A40 #400E0A
square
#21400A #0A3C40 #290A40 #400E0A
split-complementary
#21400A #0E0A40 #400A3C
monochromatic
#0E1A04 #0E1A04 #21400A #3C7512 #58AA1B

Accessibility & contrast

On white

11.65
#21400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21400A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21400A#FFFFFF#000000##FFFFFF
##21400A1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21400a;
/* rgb */ color: rgb(33, 64, 10);
/* oklch */ color: oklch(33.5% 0.088 135.1);
Tailwind
colors: {
  custom: {
    50: '#60754d',
    500: '#21400a',
    950: '#000000',
  },
}
SCSS
$custom: #21400a;
$custom-light: #60754d;
$custom-dark: #000000;
JSON
{
  "hex": "#21400a",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 94.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.08753,
    "h": 135.1
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#21400A
secondary
#59297D
accent
#38F0A1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #21400A

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

Preview Lab → · Contrast checker → · Palette generator →

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