#21674F#21674F

#21674F is a mid, moderate teal. Relative luminance 0.106; OKLCH L 46.3% C 0.080 H 166.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#21674F
RGBrgb(33, 103, 79)
HSLhsl(159, 51%, 27%)
HSVhsv(159, 68%, 40%)
CMYKcmyk(68%, 0%, 23.3%, 59.6%)
CIE-LABlab(38.88, -28.08, 7.25)
CIE-LCHlch(38.88, 29.00, 165.52°)
OKLaboklab(46.32% -0.0779 0.0186)
OKLCHoklch(46.32% 0.08 166.6)
XYZxyz(6.8880, 10.5876, 9.0762)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21674F #672139
analogous
#21672C #21674F #215C67
triadic
#21674F #4F2167 #674F21
tetradic
#21674F #2C2167 #672139 #5C6721
square
#21674F #2C2167 #672139 #5C6721
split-complementary
#21674F #67215C #672C21
monochromatic
#071712 #12392B #21674F #309573 #40C296

Accessibility & contrast

On white

6.74
#21674F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#21674F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21674F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21674F#FFFFFF#000000##FFFFFF
##21674F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604E
Deuteranopia (green-blind)
#5B5951
Tritanopia (blue-blind)
#006760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #21674f;
/* rgb */ color: rgb(33, 103, 79);
/* oklch */ color: oklch(46.3% 0.080 166.6);
Tailwind
colors: {
  custom: {
    50: '#659380',
    500: '#21674f',
    950: '#000000',
  },
}
SCSS
$custom: #21674f;
$custom-light: #659380;
$custom-dark: #000000;
JSON
{
  "hex": "#21674f",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 79
  },
  "hsl": {
    "h": 159.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46315,
    "c": 0.08009,
    "h": 166.6
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#21674F
secondary
#9B4965
accent
#4D7EDB
background
#F6F9F7
surface
#EBF1EE
border
#C6CBC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #21674F

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

Preview Lab → · Contrast checker → · Palette generator →

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