#21480F#21480F

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

Color values

HEX#21480F
RGBrgb(33, 72, 15)
HSLhsl(101, 66%, 17%)
HSVhsv(101, 79%, 28%)
CMYKcmyk(54.2%, 0%, 79.2%, 71.8%)
CIE-LABlab(26.71, -25.55, 28.46)
CIE-LCHlch(26.71, 38.25, 131.93°)
OKLaboklab(35.97% -0.0707 0.0645)
OKLCHoklch(35.97% 0.096 137.6)
XYZxyz(3.0307, 4.9923, 1.2558)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21480F #360F48
analogous
#3E480F #21480F #0F481A
triadic
#21480F #0F2148 #480F21
tetradic
#21480F #0F3E48 #360F48 #481A0F
square
#21480F #0F3E48 #360F48 #481A0F
split-complementary
#21480F #1A0F48 #480F3E
monochromatic
#0C1905 #0C1905 #21480F #387B1A #4FAD24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21480F#FFFFFF#000000##FFFFFF
##21480F1.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)
#4B4106
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#1E453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #21480f;
/* rgb */ color: rgb(33, 72, 15);
/* oklch */ color: oklch(36.0% 0.096 137.6);
Tailwind
colors: {
  custom: {
    50: '#617b51',
    500: '#21480f',
    950: '#000000',
  },
}
SCSS
$custom: #21480f;
$custom-light: #617b51;
$custom-dark: #000000;
JSON
{
  "hex": "#21480f",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 101.053,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.09567,
    "h": 137.6
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#21480F
secondary
#693082
accent
#3FE8B3
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21480F

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

Preview Lab → · Contrast checker → · Palette generator →

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