#21823C#21823C

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

Color values

HEX#21823C
RGBrgb(33, 130, 60)
HSLhsl(137, 60%, 32%)
HSVhsv(137, 75%, 51%)
CMYKcmyk(74.6%, 0%, 53.8%, 49%)
CIE-LABlab(47.77, -43.44, 29.89)
CIE-LCHlch(47.77, 52.73, 145.47°)
OKLaboklab(53.52% -0.1169 0.0721)
OKLCHoklch(53.52% 0.137 148.4)
XYZxyz(9.4247, 16.6138, 6.9842)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823C #822167
analogous
#378221 #21823C #21826D
triadic
#21823C #3C2182 #823C21
tetradic
#21823C #213782 #822167 #826D21
square
#21823C #213782 #822167 #826D21
split-complementary
#21823C #6D2182 #822137
monochromatic
#08200F #155125 #21823C #2DB353 #4CD271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21823C#FFFFFF#000000##FFFFFF
##21823C1.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)
#837636
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21823c;
/* rgb */ color: rgb(33, 130, 60);
/* oklch */ color: oklch(53.5% 0.137 148.4);
Tailwind
colors: {
  custom: {
    50: '#6ca773',
    500: '#21823c',
    950: '#000000',
  },
}
SCSS
$custom: #21823c;
$custom-light: #6ca773;
$custom-dark: #000000;
JSON
{
  "hex": "#21823c",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 60
  },
  "hsl": {
    "h": 136.701,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.13734,
    "h": 148.4
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#21823C
secondary
#B44A97
accent
#45B7E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21823C

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

Preview Lab → · Contrast checker → · Palette generator →

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