#21825F#21825F

#21825F is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.2% C 0.104 H 164.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#21825F
RGBrgb(33, 130, 95)
HSLhsl(158, 60%, 32%)
HSVhsv(158, 75%, 51%)
CMYKcmyk(74.6%, 0%, 26.9%, 49%)
CIE-LABlab(48.40, -36.37, 11.15)
CIE-LCHlch(48.40, 38.04, 162.95°)
OKLaboklab(54.25% -0.0999 0.0285)
OKLCHoklch(54.25% 0.104 164.1)
XYZxyz(10.6742, 17.1136, 13.5649)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21825F #822144
analogous
#21822F #21825F #217482
triadic
#21825F #5F2182 #825F21
tetradic
#21825F #2F2182 #822144 #748221
square
#21825F #2F2182 #822144 #748221
split-complementary
#21825F #822174 #822F21
monochromatic
#082018 #15513B #21825F #2DB383 #4CD2A1

Accessibility & contrast

On white

4.75
#21825F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#21825F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21825F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21825F#FFFFFF#000000##FFFFFF
##21825F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785D
Deuteranopia (green-blind)
#736F61
Tritanopia (blue-blind)
#008278
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21825f;
/* rgb */ color: rgb(33, 130, 95);
/* oklch */ color: oklch(54.2% 0.104 164.1);
Tailwind
colors: {
  custom: {
    50: '#6ba78c',
    500: '#21825f',
    950: '#000000',
  },
}
SCSS
$custom: #21825f;
$custom-light: #6ba78c;
$custom-dark: #000000;
JSON
{
  "hex": "#21825f",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 95
  },
  "hsl": {
    "h": 158.351,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.10388,
    "h": 164.1
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#21825F
secondary
#B44A71
accent
#457EE3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #21825F

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

Preview Lab → · Contrast checker → · Palette generator →

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