#21824F#21824F

#21824F is a mid, moderate green. Relative luminance 0.169; OKLCH L 53.9% C 0.119 H 155.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#21824F
RGBrgb(33, 130, 79)
HSLhsl(148, 60%, 32%)
HSVhsv(148, 75%, 51%)
CMYKcmyk(74.6%, 0%, 39.2%, 49%)
CIE-LABlab(48.07, -39.98, 19.88)
CIE-LCHlch(48.07, 44.64, 153.56°)
OKLaboklab(53.87% -0.108 0.0497)
OKLCHoklch(53.87% 0.119 155.3)
XYZxyz(10.0202, 16.8520, 10.1203)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21824F #822154
analogous
#238221 #21824F #218280
triadic
#21824F #4F2182 #824F21
tetradic
#21824F #212382 #822154 #828021
square
#21824F #212382 #822154 #828021
split-complementary
#21824F #802182 #822123
monochromatic
#082014 #155131 #21824F #2DB36D #4CD28B

Accessibility & contrast

On white

4.80
#21824F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21824F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21824F#FFFFFF#000000##FFFFFF
##21824F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774C
Deuteranopia (green-blind)
#766F52
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21824f;
/* rgb */ color: rgb(33, 130, 79);
/* oklch */ color: oklch(53.9% 0.119 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ba781',
    500: '#21824f',
    950: '#000000',
  },
}
SCSS
$custom: #21824f;
$custom-light: #6ba781;
$custom-dark: #000000;
JSON
{
  "hex": "#21824f",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 79
  },
  "hsl": {
    "h": 148.454,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.11886,
    "h": 155.3
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#21824F
secondary
#B44A82
accent
#4598E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #21824F

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

Preview Lab → · Contrast checker → · Palette generator →

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