#21823D#21823D

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

Color values

HEX#21823D
RGBrgb(33, 130, 61)
HSLhsl(137, 60%, 32%)
HSVhsv(137, 75%, 51%)
CMYKcmyk(74.6%, 0%, 53.1%, 49%)
CIE-LABlab(47.78, -43.28, 29.38)
CIE-LCHlch(47.78, 52.31, 145.83°)
OKLaboklab(53.53% -0.1165 0.071)
OKLCHoklch(53.53% 0.136 148.6)
XYZxyz(9.4514, 16.6244, 7.1247)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823D #822166
analogous
#358221 #21823D #21826E
triadic
#21823D #3D2182 #823D21
tetradic
#21823D #213582 #822166 #826E21
square
#21823D #213582 #822166 #826E21
split-complementary
#21823D #6E2182 #822135
monochromatic
#08200F #155126 #21823D #2DB354 #4CD272

Accessibility & contrast

On white

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

On black

4.33
#21823D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21823D#FFFFFF#000000##FFFFFF
##21823D1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21823d;
/* rgb */ color: rgb(33, 130, 61);
/* oklch */ color: oklch(53.5% 0.136 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ca774',
    500: '#21823d',
    950: '#000000',
  },
}
SCSS
$custom: #21823d;
$custom-light: #6ca774;
$custom-dark: #000000;
JSON
{
  "hex": "#21823d",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 61
  },
  "hsl": {
    "h": 137.32,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.13639,
    "h": 148.6
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#21823D
secondary
#B44A96
accent
#45B5E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21823D

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

Preview Lab → · Contrast checker → · Palette generator →

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