#21794F#21794F

#21794F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.106 H 157.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#21794F
RGBrgb(33, 121, 79)
HSLhsl(151, 57%, 30%)
HSVhsv(151, 73%, 47%)
CMYKcmyk(72.7%, 0%, 34.7%, 52.5%)
CIE-LABlab(45.03, -36.21, 15.78)
CIE-LCHlch(45.03, 39.50, 156.46°)
OKLaboklab(51.36% -0.0983 0.0398)
OKLCHoklch(51.36% 0.106 157.9)
XYZxyz(8.8750, 14.5616, 9.7386)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21794F #79214B
analogous
#217923 #21794F #217779
triadic
#21794F #4F2179 #794F21
tetradic
#21794F #232179 #79214B #777921
square
#21794F #232179 #79214B #777921
split-complementary
#21794F #792177 #792321
monochromatic
#071910 #144930 #21794F #2EA96E #47CD8D

Accessibility & contrast

On white

5.37
#21794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#21794F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21794F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21794F#FFFFFF#000000##FFFFFF
##21794F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4C
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21794f;
/* rgb */ color: rgb(33, 121, 79);
/* oklch */ color: oklch(51.4% 0.106 157.9);
Tailwind
colors: {
  custom: {
    50: '#69a080',
    500: '#21794f',
    950: '#000000',
  },
}
SCSS
$custom: #21794f;
$custom-light: #69a080;
$custom-dark: #000000;
JSON
{
  "hex": "#21794f",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 151.364,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.10606,
    "h": 157.9
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#21794F
secondary
#AC4A79
accent
#4790E0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21794F

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

Preview Lab → · Contrast checker → · Palette generator →

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