#21490F#21490F

#21490F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.3% C 0.097 H 137.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#21490F
RGBrgb(33, 73, 15)
HSLhsl(101, 66%, 17%)
HSVhsv(101, 79%, 29%)
CMYKcmyk(54.8%, 0%, 79.5%, 71.4%)
CIE-LABlab(27.08, -26.02, 28.83)
CIE-LCHlch(27.08, 38.83, 132.06°)
OKLaboklab(36.27% -0.0719 0.0653)
OKLCHoklch(36.27% 0.097 137.8)
XYZxyz(3.0959, 5.1227, 1.2775)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21490F #370F49
analogous
#3E490F #21490F #0F491A
triadic
#21490F #0F2149 #490F21
tetradic
#21490F #0F3E49 #370F49 #491A0F
square
#21490F #0F3E49 #370F49 #491A0F
split-complementary
#21490F #1A0F49 #490F3E
monochromatic
#0B1905 #0B1905 #21490F #387C19 #4FAF24

Accessibility & contrast

On white

10.37
#21490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#21490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21490F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21490F#FFFFFF#000000##FFFFFF
##21490F1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#1E463E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #21490f;
/* rgb */ color: rgb(33, 73, 15);
/* oklch */ color: oklch(36.3% 0.097 137.8);
Tailwind
colors: {
  custom: {
    50: '#617c51',
    500: '#21490f',
    950: '#000000',
  },
}
SCSS
$custom: #21490f;
$custom-light: #617c51;
$custom-dark: #000000;
JSON
{
  "hex": "#21490f",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 101.379,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.09713,
    "h": 137.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#21490F
secondary
#6A3083
accent
#3FE9B4
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21490F

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

Preview Lab → · Contrast checker → · Palette generator →

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