#21792E#21792E

#21792E is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.138 H 145.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#21792E
RGBrgb(33, 121, 46)
HSLhsl(129, 57%, 30%)
HSVhsv(129, 73%, 47%)
CMYKcmyk(72.7%, 0%, 62%, 52.5%)
CIE-LABlab(44.51, -42.09, 33.17)
CIE-LCHlch(44.51, 53.59, 141.76°)
OKLaboklab(50.76% -0.1137 0.0782)
OKLCHoklch(50.76% 0.138 145.5)
XYZxyz(7.9572, 14.1945, 4.9047)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21792E #79216C
analogous
#407921 #21792E #21795A
triadic
#21792E #2E2179 #792E21
tetradic
#21792E #214079 #79216C #795A21
square
#21792E #214079 #79216C #795A21
split-complementary
#21792E #5A2179 #792140
monochromatic
#071909 #14491C #21792E #2EA940 #47CD5B

Accessibility & contrast

On white

5.47
#21792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#21792E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21792E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21792E#FFFFFF#000000##FFFFFF
##21792E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E26
Deuteranopia (green-blind)
#716634
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21792e;
/* rgb */ color: rgb(33, 121, 46);
/* oklch */ color: oklch(50.8% 0.138 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa169',
    500: '#21792e',
    950: '#000000',
  },
}
SCSS
$custom: #21792e;
$custom-light: #6aa169;
$custom-dark: #000000;
JSON
{
  "hex": "#21792e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 128.864,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.13796,
    "h": 145.5
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#21792E
secondary
#AC4A9E
accent
#47CAE0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #21792E

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

Preview Lab → · Contrast checker → · Palette generator →

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