#21631C#21631C

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

Color values

HEX#21631C
RGBrgb(33, 99, 28)
HSLhsl(116, 56%, 25%)
HSVhsv(116, 72%, 39%)
CMYKcmyk(66.7%, 0%, 71.7%, 61.2%)
CIE-LABlab(36.61, -35.78, 32.97)
CIE-LCHlch(36.61, 48.65, 137.34°)
OKLaboklab(44.17% -0.0975 0.0758)
OKLCHoklch(44.17% 0.123 142.1)
XYZxyz(5.2984, 9.3303, 2.6201)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21631C #5E1C63
analogous
#44631C #21631C #1C633B
triadic
#21631C #1C2163 #631C21
tetradic
#21631C #1C4463 #5E1C63 #633B1C
square
#21631C #1C4463 #5E1C63 #633B1C
split-complementary
#21631C #3B1C63 #631C44
monochromatic
#081807 #11330F #21631C #319329 #41C237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21631C#FFFFFF#000000##FFFFFF
##21631C1.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)
#655912
Deuteranopia (green-blind)
#5D5423
Tritanopia (blue-blind)
#156055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21631c;
/* rgb */ color: rgb(33, 99, 28);
/* oklch */ color: oklch(44.2% 0.123 142.1);
Tailwind
colors: {
  custom: {
    50: '#66905c',
    500: '#21631c',
    950: '#000000',
  },
}
SCSS
$custom: #21631c;
$custom-light: #66905c;
$custom-dark: #000000;
JSON
{
  "hex": "#21631c",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 115.775,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.12347,
    "h": 142.1
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#21631C
secondary
#924398
accent
#49DFD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #21631C

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

Preview Lab → · Contrast checker → · Palette generator →

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