#21480B#21480B

#21480B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 35.9% C 0.098 H 136.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#21480B
RGBrgb(33, 72, 11)
HSLhsl(98, 73%, 16%)
HSVhsv(98, 85%, 28%)
CMYKcmyk(54.2%, 0%, 84.7%, 71.8%)
CIE-LABlab(26.68, -25.88, 30.10)
CIE-LCHlch(26.68, 39.69, 130.69°)
OKLaboklab(35.94% -0.0719 0.0672)
OKLCHoklch(35.94% 0.098 136.9)
XYZxyz(3.0049, 4.9820, 1.1198)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21480B #320B48
analogous
#40480B #21480B #0B4814
triadic
#21480B #0B2148 #480B21
tetradic
#21480B #0B4048 #320B48 #48140B
square
#21480B #0B4048 #320B48 #48140B
split-complementary
#21480B #140B48 #480B40
monochromatic
#0C1B04 #0C1B04 #21480B #397D13 #52B21B

Accessibility & contrast

On white

10.52
#21480B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#21480B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21480B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21480B#FFFFFF#000000##FFFFFF
##21480B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4101
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#1F453C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21480b;
/* rgb */ color: rgb(33, 72, 11);
/* oklch */ color: oklch(35.9% 0.098 136.9);
Tailwind
colors: {
  custom: {
    50: '#617b4f',
    500: '#21480b',
    950: '#000000',
  },
}
SCSS
$custom: #21480b;
$custom-light: #617b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21480b",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 11
  },
  "hsl": {
    "h": 98.361,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35935,
    "c": 0.09842,
    "h": 136.9
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#21480B
secondary
#642A84
accent
#38F0AE
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21480B

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

Preview Lab → · Contrast checker → · Palette generator →

#21480B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva