#21631B#21631B

#21631B is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 141.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#21631B
RGBrgb(33, 99, 27)
HSLhsl(115, 57%, 25%)
HSVhsv(115, 73%, 39%)
CMYKcmyk(66.7%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.60, -35.88, 33.41)
CIE-LCHlch(36.60, 49.03, 137.04°)
OKLaboklab(44.16% -0.0978 0.0766)
OKLCHoklch(44.16% 0.124 141.9)
XYZxyz(5.2866, 9.3256, 2.5581)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21631B #5D1B63
analogous
#45631B #21631B #1B6339
triadic
#21631B #1B2163 #631B21
tetradic
#21631B #1B4563 #5D1B63 #63391B
square
#21631B #1B4563 #5D1B63 #63391B
split-complementary
#21631B #391B63 #631B45
monochromatic
#081807 #11330E #21631B #319328 #41C335

Accessibility & contrast

On white

7.33
#21631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#21631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21631B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21631B#FFFFFF#000000##FFFFFF
##21631B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#5D5422
Tritanopia (blue-blind)
#156054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21631b;
/* rgb */ color: rgb(33, 99, 27);
/* oklch */ color: oklch(44.2% 0.124 141.9);
Tailwind
colors: {
  custom: {
    50: '#66905c',
    500: '#21631b',
    950: '#000000',
  },
}
SCSS
$custom: #21631b;
$custom-light: #66905c;
$custom-dark: #000000;
JSON
{
  "hex": "#21631b",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 115,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.12423,
    "h": 141.9
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#21631B
secondary
#914198
accent
#47E0D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #21631B

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

Preview Lab → · Contrast checker → · Palette generator →

#21631B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva