#21835D#21835D

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

Color values

HEX#21835D
RGBrgb(33, 131, 93)
HSLhsl(157, 60%, 32%)
HSVhsv(157, 75%, 51%)
CMYKcmyk(74.8%, 0%, 29%, 48.6%)
CIE-LABlab(48.69, -37.28, 12.71)
CIE-LCHlch(48.69, 39.39, 161.17°)
OKLaboklab(54.47% -0.102 0.0324)
OKLCHoklch(54.47% 0.107 162.4)
XYZxyz(10.7181, 17.3450, 13.1368)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21835D #832147
analogous
#21832C #21835D #217883
triadic
#21835D #5D2183 #835D21
tetradic
#21835D #2C2183 #832147 #788321
square
#21835D #2C2183 #832147 #788321
split-complementary
#21835D #832178 #832C21
monochromatic
#082118 #15523A #21835D #2DB480 #4CD29E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21835D#FFFFFF#000000##FFFFFF
##21835D1.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)
#81795B
Deuteranopia (green-blind)
#74705F
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21835d;
/* rgb */ color: rgb(33, 131, 93);
/* oklch */ color: oklch(54.5% 0.107 162.4);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#21835d',
    950: '#000000',
  },
}
SCSS
$custom: #21835d;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#21835d",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 93
  },
  "hsl": {
    "h": 156.735,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.10701,
    "h": 162.4
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#21835D
secondary
#B54B74
accent
#4582E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #21835D

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

Preview Lab → · Contrast checker → · Palette generator →

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