#21835A#21835A

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

Color values

HEX#21835A
RGBrgb(33, 131, 90)
HSLhsl(155, 60%, 32%)
HSVhsv(155, 75%, 51%)
CMYKcmyk(74.8%, 0%, 31.3%, 48.6%)
CIE-LABlab(48.63, -37.98, 14.35)
CIE-LCHlch(48.63, 40.60, 159.30°)
OKLaboklab(54.4% -0.1035 0.0364)
OKLCHoklch(54.4% 0.11 160.6)
XYZxyz(10.5879, 17.2929, 12.4507)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21835A #83214A
analogous
#218329 #21835A #217B83
triadic
#21835A #5A2183 #835A21
tetradic
#21835A #292183 #83214A #7B8321
square
#21835A #292183 #83214A #7B8321
split-complementary
#21835A #83217B #832921
monochromatic
#082117 #155238 #21835A #2DB47C #4CD29A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21835A#FFFFFF#000000##FFFFFF
##21835A1.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)
#817958
Deuteranopia (green-blind)
#75705D
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21835a;
/* rgb */ color: rgb(33, 131, 90);
/* oklch */ color: oklch(54.4% 0.110 160.6);
Tailwind
colors: {
  custom: {
    50: '#6ba888',
    500: '#21835a',
    950: '#000000',
  },
}
SCSS
$custom: #21835a;
$custom-light: #6ba888;
$custom-dark: #000000;
JSON
{
  "hex": "#21835a",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 90
  },
  "hsl": {
    "h": 154.898,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.10974,
    "h": 160.6
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#21835A
secondary
#B54B77
accent
#4587E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #21835A

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

Preview Lab → · Contrast checker → · Palette generator →

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