#21641F#21641F

#21641F is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.122 H 142.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#21641F
RGBrgb(33, 100, 31)
HSLhsl(118, 53%, 26%)
HSVhsv(118, 69%, 39%)
CMYKcmyk(67%, 0%, 69%, 60.8%)
CIE-LABlab(37.00, -35.85, 31.99)
CIE-LCHlch(37.00, 48.04, 138.26°)
OKLaboklab(44.5% -0.0975 0.0741)
OKLCHoklch(44.5% 0.122 142.8)
XYZxyz(5.4314, 9.5361, 2.8505)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21641F #621F64
analogous
#43641F #21641F #1F643F
triadic
#21641F #1F2164 #641F21
tetradic
#21641F #1F4364 #621F64 #643F1F
square
#21641F #1F4364 #621F64 #643F1F
split-complementary
#21641F #3F1F64 #641F43
monochromatic
#081707 #123511 #21641F #30932D #40C13C

Accessibility & contrast

On white

7.22
#21641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#21641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21641F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21641F#FFFFFF#000000##FFFFFF
##21641F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#146156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21641f;
/* rgb */ color: rgb(33, 100, 31);
/* oklch */ color: oklch(44.5% 0.122 142.8);
Tailwind
colors: {
  custom: {
    50: '#66915e',
    500: '#21641f',
    950: '#000000',
  },
}
SCSS
$custom: #21641f;
$custom-light: #66915e;
$custom-dark: #000000;
JSON
{
  "hex": "#21641f",
  "rgb": {
    "r": 33,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 118.261,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.12244,
    "h": 142.8
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#21641F
secondary
#964698
accent
#4CDCD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #21641F

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

Preview Lab → · Contrast checker → · Palette generator →

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