#21793A#21793A

#21793A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.127 H 148.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#21793A
RGBrgb(33, 121, 58)
HSLhsl(137, 57%, 30%)
HSVhsv(137, 73%, 47%)
CMYKcmyk(72.7%, 0%, 52.1%, 52.5%)
CIE-LABlab(44.66, -40.30, 27.12)
CIE-LCHlch(44.66, 48.58, 146.06°)
OKLaboklab(50.94% -0.1085 0.0658)
OKLCHoklch(50.94% 0.127 148.8)
XYZxyz(8.2277, 14.3027, 6.3292)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21793A #792160
analogous
#347921 #21793A #217966
triadic
#21793A #3A2179 #793A21
tetradic
#21793A #213479 #792160 #796621
square
#21793A #213479 #792160 #796621
split-complementary
#21793A #662179 #792134
monochromatic
#07190C #144923 #21793A #2EA951 #47CD6D

Accessibility & contrast

On white

5.44
#21793A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#21793A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21793A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21793A#FFFFFF#000000##FFFFFF
##21793A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E35
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21793a;
/* rgb */ color: rgb(33, 121, 58);
/* oklch */ color: oklch(50.9% 0.127 148.8);
Tailwind
colors: {
  custom: {
    50: '#69a171',
    500: '#21793a',
    950: '#000000',
  },
}
SCSS
$custom: #21793a;
$custom-light: #69a171;
$custom-dark: #000000;
JSON
{
  "hex": "#21793a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 58
  },
  "hsl": {
    "h": 137.045,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5094,
    "c": 0.12688,
    "h": 148.8
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#21793A
secondary
#AC4A90
accent
#47B5E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21793A

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

Preview Lab → · Contrast checker → · Palette generator →

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