#21661A#21661A

#21661A is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.129 H 141.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#21661A
RGBrgb(33, 102, 26)
HSLhsl(114, 59%, 25%)
HSVhsv(114, 75%, 40%)
CMYKcmyk(67.6%, 0%, 74.5%, 60%)
CIE-LABlab(37.66, -37.15, 34.97)
CIE-LCHlch(37.66, 51.02, 136.74°)
OKLaboklab(45.03% -0.1013 0.0797)
OKLCHoklch(45.03% 0.129 141.8)
XYZxyz(5.5647, 9.9001, 2.5947)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21661A #5F1A66
analogous
#47661A #21661A #1A6639
triadic
#21661A #1A2166 #661A21
tetradic
#21661A #1A4766 #5F1A66 #66391A
square
#21661A #1A4766 #5F1A66 #66391A
split-complementary
#21661A #391A66 #661A47
monochromatic
#081806 #11350E #21661A #319726 #41C833

Accessibility & contrast

On white

7.05
#21661A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#21661A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21661A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21661A#FFFFFF#000000##FFFFFF
##21661A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0E
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#146357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21661a;
/* rgb */ color: rgb(33, 102, 26);
/* oklch */ color: oklch(45.0% 0.129 141.8);
Tailwind
colors: {
  custom: {
    50: '#66925b',
    500: '#21661a',
    950: '#000000',
  },
}
SCSS
$custom: #21661a;
$custom-light: #66925b;
$custom-dark: #000000;
JSON
{
  "hex": "#21661a",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 114.474,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45033,
    "c": 0.12891,
    "h": 141.8
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#21661A
secondary
#93409C
accent
#45E3D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #21661A

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

Preview Lab → · Contrast checker → · Palette generator →

#21661A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva