#21823A#21823A

#21823A is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.139 H 147.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#21823A
RGBrgb(33, 130, 58)
HSLhsl(135, 60%, 32%)
HSVhsv(135, 75%, 51%)
CMYKcmyk(74.6%, 0%, 55.4%, 49%)
CIE-LABlab(47.74, -43.75, 30.90)
CIE-LCHlch(47.74, 53.56, 144.77°)
OKLaboklab(53.49% -0.1178 0.0742)
OKLCHoklch(53.49% 0.139 147.8)
XYZxyz(9.3728, 16.5930, 6.7110)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823A #822169
analogous
#398221 #21823A #21826B
triadic
#21823A #3A2182 #823A21
tetradic
#21823A #213982 #822169 #826B21
square
#21823A #213982 #822169 #826B21
split-complementary
#21823A #6B2182 #822139
monochromatic
#08200E #155124 #21823A #2DB350 #4CD26E

Accessibility & contrast

On white

4.86
#21823A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#21823A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21823A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21823A#FFFFFF#000000##FFFFFF
##21823A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837633
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21823a;
/* rgb */ color: rgb(33, 130, 58);
/* oklch */ color: oklch(53.5% 0.139 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ca772',
    500: '#21823a',
    950: '#000000',
  },
}
SCSS
$custom: #21823a;
$custom-light: #6ca772;
$custom-dark: #000000;
JSON
{
  "hex": "#21823a",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 58
  },
  "hsl": {
    "h": 135.464,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.1392,
    "h": 147.8
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#21823A
secondary
#B44A99
accent
#45BAE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21823A

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

Preview Lab → · Contrast checker → · Palette generator →

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