#21823F#21823F

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

Color values

HEX#21823F
RGBrgb(33, 130, 63)
HSLhsl(139, 60%, 32%)
HSVhsv(139, 75%, 51%)
CMYKcmyk(74.6%, 0%, 51.5%, 49%)
CIE-LABlab(47.81, -42.96, 28.35)
CIE-LCHlch(47.81, 51.47, 146.58°)
OKLaboklab(53.57% -0.1156 0.0688)
OKLCHoklch(53.57% 0.135 149.2)
XYZxyz(9.5063, 16.6464, 7.4137)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21823F #822164
analogous
#338221 #21823F #218270
triadic
#21823F #3F2182 #823F21
tetradic
#21823F #213382 #822164 #827021
square
#21823F #213382 #822164 #827021
split-complementary
#21823F #702182 #822133
monochromatic
#082010 #155127 #21823F #2DB357 #4CD275

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21823F#FFFFFF#000000##FFFFFF
##21823F1.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)
#837639
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21823f;
/* rgb */ color: rgb(33, 130, 63);
/* oklch */ color: oklch(53.6% 0.135 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ba775',
    500: '#21823f',
    950: '#000000',
  },
}
SCSS
$custom: #21823f;
$custom-light: #6ba775;
$custom-dark: #000000;
JSON
{
  "hex": "#21823f",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 63
  },
  "hsl": {
    "h": 138.557,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.1345,
    "h": 149.2
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#21823F
secondary
#B44A94
accent
#45B2E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21823F

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

Preview Lab → · Contrast checker → · Palette generator →

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