#21813F#21813F

#21813F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.133 H 149.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#21813F
RGBrgb(33, 129, 63)
HSLhsl(139, 59%, 32%)
HSVhsv(139, 74%, 51%)
CMYKcmyk(74.4%, 0%, 51.2%, 49.4%)
CIE-LABlab(47.47, -42.57, 27.93)
CIE-LCHlch(47.47, 50.92, 146.74°)
OKLaboklab(53.28% -0.1145 0.0678)
OKLCHoklch(53.28% 0.133 149.4)
XYZxyz(9.3739, 16.3817, 7.3696)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21813F #812163
analogous
#338121 #21813F #21816F
triadic
#21813F #3F2181 #813F21
tetradic
#21813F #213381 #812163 #816F21
square
#21813F #213381 #812163 #816F21
split-complementary
#21813F #6F2181 #812133
monochromatic
#08200F #155027 #21813F #2DB257 #4BD175

Accessibility & contrast

On white

4.91
#21813F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#21813F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21813F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21813F#FFFFFF#000000##FFFFFF
##21813F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753A
Deuteranopia (green-blind)
#776D44
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21813f;
/* rgb */ color: rgb(33, 129, 63);
/* oklch */ color: oklch(53.3% 0.133 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ba675',
    500: '#21813f',
    950: '#000000',
  },
}
SCSS
$custom: #21813f;
$custom-light: #6ba675;
$custom-dark: #000000;
JSON
{
  "hex": "#21813f",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 63
  },
  "hsl": {
    "h": 138.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.13313,
    "h": 149.4
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#21813F
secondary
#B44A93
accent
#45B1E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21813F

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

Preview Lab → · Contrast checker → · Palette generator →

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