#21835E#21835E

#21835E is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.5% C 0.106 H 163.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#21835E
RGBrgb(33, 131, 94)
HSLhsl(157, 60%, 32%)
HSVhsv(157, 75%, 51%)
CMYKcmyk(74.8%, 0%, 28.2%, 48.6%)
CIE-LABlab(48.71, -37.04, 12.16)
CIE-LCHlch(48.71, 38.99, 161.82°)
OKLaboklab(54.5% -0.1015 0.031)
OKLCHoklch(54.5% 0.106 163)
XYZxyz(10.7627, 17.3628, 13.3716)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21835E #832146
analogous
#21832D #21835E #217783
triadic
#21835E #5E2183 #835E21
tetradic
#21835E #2D2183 #832146 #778321
square
#21835E #2D2183 #832146 #778321
split-complementary
#21835E #832177 #832D21
monochromatic
#082118 #15523B #21835E #2DB481 #4CD2A0

Accessibility & contrast

On white

4.70
#21835E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#21835E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21835E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21835E#FFFFFF#000000##FFFFFF
##21835E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81795C
Deuteranopia (green-blind)
#747060
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21835e;
/* rgb */ color: rgb(33, 131, 94);
/* oklch */ color: oklch(54.5% 0.106 163.0);
Tailwind
colors: {
  custom: {
    50: '#6ca88b',
    500: '#21835e',
    950: '#000000',
  },
}
SCSS
$custom: #21835e;
$custom-light: #6ca88b;
$custom-dark: #000000;
JSON
{
  "hex": "#21835e",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 94
  },
  "hsl": {
    "h": 157.347,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.10612,
    "h": 163
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#21835E
secondary
#B54B73
accent
#4581E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #21835E

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

Preview Lab → · Contrast checker → · Palette generator →

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