#21823E#21823E

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

Color values

HEX#21823E
RGBrgb(33, 130, 62)
HSLhsl(138, 60%, 32%)
HSVhsv(138, 75%, 51%)
CMYKcmyk(74.6%, 0%, 52.3%, 49%)
CIE-LABlab(47.80, -43.12, 28.87)
CIE-LCHlch(47.80, 51.89, 146.20°)
OKLaboklab(53.55% -0.116 0.0699)
OKLCHoklch(53.55% 0.135 148.9)
XYZxyz(9.4786, 16.6353, 7.2679)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823E #822165
analogous
#358221 #21823E #21826F
triadic
#21823E #3E2182 #823E21
tetradic
#21823E #213582 #822165 #826F21
square
#21823E #213582 #822165 #826F21
split-complementary
#21823E #6F2182 #822135
monochromatic
#08200F #155127 #21823E #2DB355 #4CD274

Accessibility & contrast

On white

4.85
#21823E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21823E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21823E#FFFFFF#000000##FFFFFF
##21823E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21823e;
/* rgb */ color: rgb(33, 130, 62);
/* oklch */ color: oklch(53.5% 0.135 148.9);
Tailwind
colors: {
  custom: {
    50: '#6ba775',
    500: '#21823e',
    950: '#000000',
  },
}
SCSS
$custom: #21823e;
$custom-light: #6ba775;
$custom-dark: #000000;
JSON
{
  "hex": "#21823e",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 62
  },
  "hsl": {
    "h": 137.938,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.13545,
    "h": 148.9
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21823E

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

Preview Lab → · Contrast checker → · Palette generator →

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