#21390A#21390A

#21390A is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.077 H 132.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#21390A
RGBrgb(33, 57, 10)
HSLhsl(91, 70%, 13%)
HSVhsv(91, 82%, 22%)
CMYKcmyk(42.1%, 0%, 82.5%, 77.6%)
CIE-LABlab(21.10, -18.61, 24.86)
CIE-LCHlch(21.10, 31.05, 126.83°)
OKLaboklab(31.36% -0.0523 0.0564)
OKLCHoklch(31.36% 0.077 132.9)
XYZxyz(2.1451, 3.2714, 0.8055)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21390A #220A39
analogous
#38390A #21390A #0A390A
triadic
#21390A #0A2139 #390A21
tetradic
#21390A #0A3839 #220A39 #390A0A
square
#21390A #0A3839 #220A39 #390A0A
split-complementary
#21390A #0A0A39 #390A38
monochromatic
#0F1A05 #0F1A05 #21390A #3F6D13 #5DA11C

Accessibility & contrast

On white

12.69
#21390A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#21390A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21390A
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21390A#FFFFFF#000000##FFFFFF
##21390A1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3404
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#213630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #21390a;
/* rgb */ color: rgb(33, 57, 10);
/* oklch */ color: oklch(31.4% 0.077 132.9);
Tailwind
colors: {
  custom: {
    50: '#5f6f4c',
    500: '#21390a',
    950: '#000000',
  },
}
SCSS
$custom: #21390a;
$custom-light: #5f6f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21390a",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 90.638,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.07693,
    "h": 132.9
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#21390A
secondary
#502876
accent
#3BED96
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #21390A

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

Preview Lab → · Contrast checker → · Palette generator →

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