#21480D#21480D

#21480D is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.097 H 137.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#21480D
RGBrgb(33, 72, 13)
HSLhsl(100, 69%, 17%)
HSVhsv(100, 82%, 28%)
CMYKcmyk(54.2%, 0%, 81.9%, 71.8%)
CIE-LABlab(26.70, -25.73, 29.30)
CIE-LCHlch(26.70, 38.99, 131.28°)
OKLaboklab(35.95% -0.0713 0.0659)
OKLCHoklch(35.95% 0.097 137.3)
XYZxyz(3.0171, 4.9869, 1.1843)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21480D #340D48
analogous
#3F480D #21480D #0D4817
triadic
#21480D #0D2148 #480D21
tetradic
#21480D #0D3F48 #340D48 #48170D
square
#21480D #0D3F48 #340D48 #48170D
split-complementary
#21480D #170D48 #480D3F
monochromatic
#0C1A05 #0C1A05 #21480D #397C16 #51B020

Accessibility & contrast

On white

10.51
#21480D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21480D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21480D#FFFFFF#000000##FFFFFF
##21480D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4103
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#1F453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21480d;
/* rgb */ color: rgb(33, 72, 13);
/* oklch */ color: oklch(36.0% 0.097 137.3);
Tailwind
colors: {
  custom: {
    50: '#617b50',
    500: '#21480d',
    950: '#000000',
  },
}
SCSS
$custom: #21480d;
$custom-light: #617b50;
$custom-dark: #000000;
JSON
{
  "hex": "#21480d",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 13
  },
  "hsl": {
    "h": 99.661,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.09711,
    "h": 137.3
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#21480D
secondary
#662D83
accent
#3CECB0
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21480D

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

Preview Lab → · Contrast checker → · Palette generator →

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