#21824E#21824E

#21824E is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.120 H 154.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#21824E
RGBrgb(33, 130, 78)
HSLhsl(148, 60%, 32%)
HSVhsv(148, 75%, 51%)
CMYKcmyk(74.6%, 0%, 40%, 49%)
CIE-LABlab(48.05, -40.18, 20.41)
CIE-LCHlch(48.05, 45.07, 153.07°)
OKLaboklab(53.85% -0.1085 0.051)
OKLCHoklch(53.85% 0.12 154.8)
XYZxyz(9.9841, 16.8375, 9.9300)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21824E #822155
analogous
#258221 #21824E #21827F
triadic
#21824E #4E2182 #824E21
tetradic
#21824E #212582 #822155 #827F21
square
#21824E #212582 #822155 #827F21
split-complementary
#21824E #7F2182 #822125
monochromatic
#082013 #155131 #21824E #2DB36B #4CD28A

Accessibility & contrast

On white

4.81
#21824E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#21824E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21824E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21824E#FFFFFF#000000##FFFFFF
##21824E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82774A
Deuteranopia (green-blind)
#766F51
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21824e;
/* rgb */ color: rgb(33, 130, 78);
/* oklch */ color: oklch(53.8% 0.120 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ba780',
    500: '#21824e',
    950: '#000000',
  },
}
SCSS
$custom: #21824e;
$custom-light: #6ba780;
$custom-dark: #000000;
JSON
{
  "hex": "#21824e",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 78
  },
  "hsl": {
    "h": 147.835,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.11984,
    "h": 154.8
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#21824E
secondary
#B44A83
accent
#459AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #21824E

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

Preview Lab → · Contrast checker → · Palette generator →

#21824E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva