#21631F#21631F

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

Color values

HEX#21631F
RGBrgb(33, 99, 31)
HSLhsl(118, 52%, 25%)
HSVhsv(118, 69%, 39%)
CMYKcmyk(66.7%, 0%, 68.7%, 61.2%)
CIE-LABlab(36.64, -35.45, 31.60)
CIE-LCHlch(36.64, 47.48, 138.29°)
OKLaboklab(44.2% -0.0964 0.0733)
OKLCHoklch(44.2% 0.121 142.8)
XYZxyz(5.3361, 9.3454, 2.8187)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21631F #611F63
analogous
#43631F #21631F #1F633F
triadic
#21631F #1F2163 #631F21
tetradic
#21631F #1F4363 #611F63 #633F1F
square
#21631F #1F4363 #611F63 #633F1F
split-complementary
#21631F #3F1F63 #631F43
monochromatic
#081707 #113410 #21631F #31922E #40C03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21631F#FFFFFF#000000##FFFFFF
##21631F1.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)
#655A17
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#146055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21631f;
/* rgb */ color: rgb(33, 99, 31);
/* oklch */ color: oklch(44.2% 0.121 142.8);
Tailwind
colors: {
  custom: {
    50: '#66905e',
    500: '#21631f',
    950: '#000000',
  },
}
SCSS
$custom: #21631f;
$custom-light: #66905e;
$custom-dark: #000000;
JSON
{
  "hex": "#21631f",
  "rgb": {
    "r": 33,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 118.235,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.12108,
    "h": 142.8
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#21631F
secondary
#954698
accent
#4CDCD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #21631F

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

Preview Lab → · Contrast checker → · Palette generator →

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