#21864F#21864F

#21864F is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.124 H 154.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#21864F
RGBrgb(33, 134, 79)
HSLhsl(147, 60%, 33%)
HSVhsv(147, 75%, 53%)
CMYKcmyk(75.4%, 0%, 41%, 47.5%)
CIE-LABlab(49.42, -41.59, 21.66)
CIE-LCHlch(49.42, 46.89, 152.49°)
OKLaboklab(54.98% -0.1122 0.0539)
OKLCHoklch(54.98% 0.124 154.3)
XYZxyz(10.5626, 17.9368, 10.3011)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21864F #862158
analogous
#258621 #21864F #218682
triadic
#21864F #4F2186 #864F21
tetradic
#21864F #212586 #862158 #868221
square
#21864F #212586 #862158 #868221
split-complementary
#21864F #822186 #862125
monochromatic
#092415 #155532 #21864F #2DB76C #4ED38B

Accessibility & contrast

On white

4.58
#21864F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#21864F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21864F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21864F#FFFFFF#000000##000000
##21864F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4B
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21864f;
/* rgb */ color: rgb(33, 134, 79);
/* oklch */ color: oklch(55.0% 0.124 154.3);
Tailwind
colors: {
  custom: {
    50: '#6caa81',
    500: '#21864f',
    950: '#000000',
  },
}
SCSS
$custom: #21864f;
$custom-light: #6caa81;
$custom-dark: #000000;
JSON
{
  "hex": "#21864f",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 79
  },
  "hsl": {
    "h": 147.327,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.12445,
    "h": 154.3
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#21864F
secondary
#B74C86
accent
#449BE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21864F

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

Preview Lab → · Contrast checker → · Palette generator →

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