#21480E#21480E

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

Color values

HEX#21480E
RGBrgb(33, 72, 14)
HSLhsl(100, 67%, 17%)
HSVhsv(100, 81%, 28%)
CMYKcmyk(54.2%, 0%, 80.6%, 71.8%)
CIE-LABlab(26.71, -25.64, 28.89)
CIE-LCHlch(26.71, 38.63, 131.60°)
OKLaboklab(35.96% -0.071 0.0652)
OKLCHoklch(35.96% 0.096 137.4)
XYZxyz(3.0237, 4.9896, 1.2191)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21480E #350E48
analogous
#3E480E #21480E #0E4818
triadic
#21480E #0E2148 #480E21
tetradic
#21480E #0E3E48 #350E48 #48180E
square
#21480E #0E3E48 #350E48 #48180E
split-complementary
#21480E #180E48 #480E3E
monochromatic
#0C1A05 #0C1A05 #21480E #387B18 #50AE22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21480e;
/* rgb */ color: rgb(33, 72, 14);
/* oklch */ color: oklch(36.0% 0.096 137.4);
Tailwind
colors: {
  custom: {
    50: '#617b51',
    500: '#21480e',
    950: '#000000',
  },
}
SCSS
$custom: #21480e;
$custom-light: #617b51;
$custom-dark: #000000;
JSON
{
  "hex": "#21480e",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 100.345,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.09641,
    "h": 137.4
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#21480E
secondary
#672F83
accent
#3DEAB2
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21480E

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

Preview Lab → · Contrast checker → · Palette generator →

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