#21793F#21793F

#21793F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.122 H 150.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#21793F
RGBrgb(33, 121, 63)
HSLhsl(140, 57%, 30%)
HSVhsv(140, 73%, 47%)
CMYKcmyk(72.7%, 0%, 47.9%, 52.5%)
CIE-LABlab(44.74, -39.44, 24.48)
CIE-LCHlch(44.74, 46.42, 148.17°)
OKLaboklab(51.03% -0.1062 0.06)
OKLCHoklch(51.03% 0.122 150.5)
XYZxyz(8.3611, 14.3560, 7.0320)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21793F #79215B
analogous
#2F7921 #21793F #21796B
triadic
#21793F #3F2179 #793F21
tetradic
#21793F #212F79 #79215B #796B21
square
#21793F #212F79 #79215B #796B21
split-complementary
#21793F #6B2179 #79212F
monochromatic
#07190D #144926 #21793F #2EA958 #47CD75

Accessibility & contrast

On white

5.42
#21793F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21793F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21793F#FFFFFF#000000##FFFFFF
##21793F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21793f;
/* rgb */ color: rgb(33, 121, 63);
/* oklch */ color: oklch(51.0% 0.122 150.5);
Tailwind
colors: {
  custom: {
    50: '#69a075',
    500: '#21793f',
    950: '#000000',
  },
}
SCSS
$custom: #21793f;
$custom-light: #69a075;
$custom-dark: #000000;
JSON
{
  "hex": "#21793f",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 63
  },
  "hsl": {
    "h": 140.455,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.12198,
    "h": 150.5
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#21793F
secondary
#AC4A8B
accent
#47ACE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21793F

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

Preview Lab → · Contrast checker → · Palette generator →

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