#21835B#21835B

#21835B is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.4% C 0.109 H 161.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#21835B
RGBrgb(33, 131, 91)
HSLhsl(156, 60%, 32%)
HSVhsv(156, 75%, 51%)
CMYKcmyk(74.8%, 0%, 30.5%, 48.6%)
CIE-LABlab(48.65, -37.75, 13.80)
CIE-LCHlch(48.65, 40.20, 159.91°)
OKLaboklab(54.42% -0.103 0.0351)
OKLCHoklch(54.42% 0.109 161.2)
XYZxyz(10.6307, 17.3100, 12.6764)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21835B #832149
analogous
#21832A #21835B #217A83
triadic
#21835B #5B2183 #835B21
tetradic
#21835B #2A2183 #832149 #7A8321
square
#21835B #2A2183 #832149 #7A8321
split-complementary
#21835B #83217A #832A21
monochromatic
#082117 #155239 #21835B #2DB47D #4CD29B

Accessibility & contrast

On white

4.71
#21835B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#21835B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21835B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21835B#FFFFFF#000000##FFFFFF
##21835B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817959
Deuteranopia (green-blind)
#75705E
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21835b;
/* rgb */ color: rgb(33, 131, 91);
/* oklch */ color: oklch(54.4% 0.109 161.2);
Tailwind
colors: {
  custom: {
    50: '#6ba889',
    500: '#21835b',
    950: '#000000',
  },
}
SCSS
$custom: #21835b;
$custom-light: #6ba889;
$custom-dark: #000000;
JSON
{
  "hex": "#21835b",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 91
  },
  "hsl": {
    "h": 155.51,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.10882,
    "h": 161.2
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#21835B
secondary
#B54B76
accent
#4585E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #21835B

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

Preview Lab → · Contrast checker → · Palette generator →

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