#21793E#21793E

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

Color values

HEX#21793E
RGBrgb(33, 121, 62)
HSLhsl(140, 57%, 30%)
HSVhsv(140, 73%, 47%)
CMYKcmyk(72.7%, 0%, 48.8%, 52.5%)
CIE-LABlab(44.72, -39.61, 25.01)
CIE-LCHlch(44.72, 46.85, 147.73°)
OKLaboklab(51.01% -0.1067 0.0612)
OKLCHoklch(51.01% 0.123 150.2)
XYZxyz(8.3334, 14.3450, 6.8862)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21793E #79215C
analogous
#307921 #21793E #21796A
triadic
#21793E #3E2179 #793E21
tetradic
#21793E #213079 #79215C #796A21
square
#21793E #213079 #79215C #796A21
split-complementary
#21793E #6A2179 #792130
monochromatic
#07190D #144925 #21793E #2EA957 #47CD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21793E#FFFFFF#000000##FFFFFF
##21793E1.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)
#7A6E39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21793e;
/* rgb */ color: rgb(33, 121, 62);
/* oklch */ color: oklch(51.0% 0.123 150.2);
Tailwind
colors: {
  custom: {
    50: '#69a074',
    500: '#21793e',
    950: '#000000',
  },
}
SCSS
$custom: #21793e;
$custom-light: #69a074;
$custom-dark: #000000;
JSON
{
  "hex": "#21793e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 139.773,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.12296,
    "h": 150.2
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#21793E
secondary
#AC4A8C
accent
#47AEE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21793E

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

Preview Lab → · Contrast checker → · Palette generator →

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