#21793D#21793D

#21793D is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.124 H 149.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21793D
RGBrgb(33, 121, 61)
HSLhsl(139, 57%, 30%)
HSVhsv(139, 73%, 47%)
CMYKcmyk(72.7%, 0%, 49.6%, 52.5%)
CIE-LABlab(44.71, -39.79, 25.54)
CIE-LCHlch(44.71, 47.28, 147.30°)
OKLaboklab(50.99% -0.1071 0.0623)
OKLCHoklch(50.99% 0.124 149.8)
XYZxyz(8.3062, 14.3341, 6.7430)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21793D #79215D
analogous
#317921 #21793D #217969
triadic
#21793D #3D2179 #793D21
tetradic
#21793D #213179 #79215D #796921
square
#21793D #213179 #79215D #796921
split-complementary
#21793D #692179 #792131
monochromatic
#07190D #144925 #21793D #2EA955 #47CD72

Accessibility & contrast

On white

5.43
#21793D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21793D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21793D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21793D#FFFFFF#000000##FFFFFF
##21793D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E38
Deuteranopia (green-blind)
#6F6741
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21793d;
/* rgb */ color: rgb(33, 121, 61);
/* oklch */ color: oklch(51.0% 0.124 149.8);
Tailwind
colors: {
  custom: {
    50: '#69a173',
    500: '#21793d',
    950: '#000000',
  },
}
SCSS
$custom: #21793d;
$custom-light: #69a173;
$custom-dark: #000000;
JSON
{
  "hex": "#21793d",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 61
  },
  "hsl": {
    "h": 139.091,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.12395,
    "h": 149.8
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#21793D
secondary
#AC4A8D
accent
#47B0E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21793D

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

Preview Lab → · Contrast checker → · Palette generator →

#21793D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva