#21833E#21833E

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

Color values

HEX#21833E
RGBrgb(33, 131, 62)
HSLhsl(138, 60%, 32%)
HSVhsv(138, 75%, 51%)
CMYKcmyk(74.8%, 0%, 52.7%, 48.6%)
CIE-LABlab(48.14, -43.50, 29.29)
CIE-LCHlch(48.14, 52.44, 146.05°)
OKLaboklab(53.83% -0.117 0.0708)
OKLCHoklch(53.83% 0.137 148.8)
XYZxyz(9.6122, 16.9026, 7.3124)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21833E #832166
analogous
#358321 #21833E #21836F
triadic
#21833E #3E2183 #833E21
tetradic
#21833E #213583 #832166 #836F21
square
#21833E #213583 #832166 #836F21
split-complementary
#21833E #6F2183 #832135
monochromatic
#082110 #155227 #21833E #2DB455 #4CD274

Accessibility & contrast

On white

4.79
#21833E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21833E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21833E#FFFFFF#000000##FFFFFF
##21833E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21833e;
/* rgb */ color: rgb(33, 131, 62);
/* oklch */ color: oklch(53.8% 0.137 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ca875',
    500: '#21833e',
    950: '#000000',
  },
}
SCSS
$custom: #21833e;
$custom-light: #6ca875;
$custom-dark: #000000;
JSON
{
  "hex": "#21833e",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 62
  },
  "hsl": {
    "h": 137.755,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.13681,
    "h": 148.8
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#21833E
secondary
#B54B96
accent
#45B4E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21833E

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

Preview Lab → · Contrast checker → · Palette generator →

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