#21380A#21380A

#21380A is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.075 H 132.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#21380A
RGBrgb(33, 56, 10)
HSLhsl(90, 70%, 13%)
HSVhsv(90, 82%, 22%)
CMYKcmyk(41.1%, 0%, 82.1%, 78%)
CIE-LABlab(20.73, -18.09, 24.45)
CIE-LCHlch(20.73, 30.41, 126.50°)
OKLaboklab(31.05% -0.0509 0.0556)
OKLCHoklch(31.05% 0.075 132.5)
XYZxyz(2.0961, 3.1735, 0.7892)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21380A #210A38
analogous
#38380A #21380A #0A380A
triadic
#21380A #0A2138 #380A21
tetradic
#21380A #0A3838 #210A38 #380A0A
square
#21380A #0A3838 #210A38 #380A0A
split-complementary
#21380A #0A0A38 #380A38
monochromatic
#0F1A05 #0F1A05 #21380A #406C13 #5EA01D

Accessibility & contrast

On white

12.85
#21380A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#21380A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21380A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21380A#FFFFFF#000000##FFFFFF
##21380A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3304
Deuteranopia (green-blind)
#38310E
Tritanopia (blue-blind)
#21352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #21380a;
/* rgb */ color: rgb(33, 56, 10);
/* oklch */ color: oklch(31.1% 0.075 132.5);
Tailwind
colors: {
  custom: {
    50: '#5f6e4c',
    500: '#21380a',
    950: '#000000',
  },
}
SCSS
$custom: #21380a;
$custom-light: #5f6e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21380a",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 90,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.07537,
    "h": 132.5
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#21380A
secondary
#4F2875
accent
#3BED94
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #21380A

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

Preview Lab → · Contrast checker → · Palette generator →

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