#21631E#21631E

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

Color values

HEX#21631E
RGBrgb(33, 99, 30)
HSLhsl(117, 53%, 25%)
HSVhsv(117, 70%, 39%)
CMYKcmyk(66.7%, 0%, 69.7%, 61.2%)
CIE-LABlab(36.63, -35.56, 32.06)
CIE-LCHlch(36.63, 47.88, 137.96°)
OKLaboklab(44.19% -0.0968 0.0741)
OKLCHoklch(44.19% 0.122 142.5)
XYZxyz(5.3231, 9.3402, 2.7504)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21631E #601E63
analogous
#44631E #21631E #1E633D
triadic
#21631E #1E2163 #631E21
tetradic
#21631E #1E4463 #601E63 #633D1E
square
#21631E #1E4463 #601E63 #633D1E
split-complementary
#21631E #3D1E63 #631E44
monochromatic
#081707 #113410 #21631E #31922C #40C13A

Accessibility & contrast

On white

7.32
#21631E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21631E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21631E#FFFFFF#000000##FFFFFF
##21631E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A15
Deuteranopia (green-blind)
#5D5424
Tritanopia (blue-blind)
#146055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21631e;
/* rgb */ color: rgb(33, 99, 30);
/* oklch */ color: oklch(44.2% 0.122 142.5);
Tailwind
colors: {
  custom: {
    50: '#66905d',
    500: '#21631e',
    950: '#000000',
  },
}
SCSS
$custom: #21631e;
$custom-light: #66905d;
$custom-dark: #000000;
JSON
{
  "hex": "#21631e",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 117.391,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.1219,
    "h": 142.5
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#21631E
secondary
#944598
accent
#4BDDD7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #21631E

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

Preview Lab → · Contrast checker → · Palette generator →

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