#21823B#21823B

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

Color values

HEX#21823B
RGBrgb(33, 130, 59)
HSLhsl(136, 60%, 32%)
HSVhsv(136, 75%, 51%)
CMYKcmyk(74.6%, 0%, 54.6%, 49%)
CIE-LABlab(47.76, -43.60, 30.39)
CIE-LCHlch(47.76, 53.15, 145.12°)
OKLaboklab(53.5% -0.1173 0.0731)
OKLCHoklch(53.5% 0.138 148.1)
XYZxyz(9.3985, 16.6033, 6.8463)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823B #822168
analogous
#388221 #21823B #21826B
triadic
#21823B #3B2182 #823B21
tetradic
#21823B #213882 #822168 #826B21
square
#21823B #213882 #822168 #826B21
split-complementary
#21823B #6B2182 #822138
monochromatic
#08200F #155125 #21823B #2DB351 #4CD270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21823B#FFFFFF#000000##FFFFFF
##21823B1.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)
#837635
Deuteranopia (green-blind)
#786E40
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21823b;
/* rgb */ color: rgb(33, 130, 59);
/* oklch */ color: oklch(53.5% 0.138 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ca773',
    500: '#21823b',
    950: '#000000',
  },
}
SCSS
$custom: #21823b;
$custom-light: #6ca773;
$custom-dark: #000000;
JSON
{
  "hex": "#21823b",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 59
  },
  "hsl": {
    "h": 136.082,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.13827,
    "h": 148.1
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#21823B
secondary
#B44A98
accent
#45B8E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21823B

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

Preview Lab → · Contrast checker → · Palette generator →

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