#21833C#21833C

#21833C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.139 H 148.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#21833C
RGBrgb(33, 131, 60)
HSLhsl(137, 60%, 32%)
HSVhsv(137, 75%, 51%)
CMYKcmyk(74.8%, 0%, 54.2%, 48.6%)
CIE-LABlab(48.11, -43.82, 30.30)
CIE-LCHlch(48.11, 53.28, 145.33°)
OKLaboklab(53.8% -0.1179 0.073)
OKLCHoklch(53.8% 0.139 148.2)
XYZxyz(9.5584, 16.8811, 7.0287)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21833C #832168
analogous
#378321 #21833C #21836D
triadic
#21833C #3C2183 #833C21
tetradic
#21833C #213783 #832168 #836D21
square
#21833C #213783 #832168 #836D21
split-complementary
#21833C #6D2183 #832137
monochromatic
#08210F #155226 #21833C #2DB452 #4CD271

Accessibility & contrast

On white

4.80
#21833C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#21833C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21833C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21833C#FFFFFF#000000##FFFFFF
##21833C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847736
Deuteranopia (green-blind)
#796F41
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21833c;
/* rgb */ color: rgb(33, 131, 60);
/* oklch */ color: oklch(53.8% 0.139 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ca873',
    500: '#21833c',
    950: '#000000',
  },
}
SCSS
$custom: #21833c;
$custom-light: #6ca873;
$custom-dark: #000000;
JSON
{
  "hex": "#21833c",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 60
  },
  "hsl": {
    "h": 136.531,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.13869,
    "h": 148.2
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21833C

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

Preview Lab → · Contrast checker → · Palette generator →

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