#21835F#21835F

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

Color values

HEX#21835F
RGBrgb(33, 131, 95)
HSLhsl(158, 60%, 32%)
HSVhsv(158, 75%, 51%)
CMYKcmyk(74.8%, 0%, 27.5%, 48.6%)
CIE-LABlab(48.74, -36.80, 11.62)
CIE-LCHlch(48.74, 38.59, 162.48°)
OKLaboklab(54.52% -0.101 0.0296)
OKLCHoklch(54.52% 0.105 163.7)
XYZxyz(10.8079, 17.3809, 13.6095)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21835F #832145
analogous
#21832E #21835F #217683
triadic
#21835F #5F2183 #835F21
tetradic
#21835F #2E2183 #832145 #768321
square
#21835F #2E2183 #832145 #768321
split-complementary
#21835F #832176 #832E21
monochromatic
#082118 #15523C #21835F #2DB482 #4CD2A1

Accessibility & contrast

On white

4.69
#21835F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#21835F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21835F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21835F#FFFFFF#000000##FFFFFF
##21835F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21835f;
/* rgb */ color: rgb(33, 131, 95);
/* oklch */ color: oklch(54.5% 0.105 163.7);
Tailwind
colors: {
  custom: {
    50: '#6ca88c',
    500: '#21835f',
    950: '#000000',
  },
}
SCSS
$custom: #21835f;
$custom-light: #6ca88c;
$custom-dark: #000000;
JSON
{
  "hex": "#21835f",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 95
  },
  "hsl": {
    "h": 157.959,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.10523,
    "h": 163.7
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#21835F
secondary
#B54B72
accent
#457FE3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #21835F

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

Preview Lab → · Contrast checker → · Palette generator →

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