#21804F#21804F

#21804F is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.116 H 155.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#21804F
RGBrgb(33, 128, 79)
HSLhsl(149, 59%, 32%)
HSVhsv(149, 74%, 50%)
CMYKcmyk(74.2%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.40, -39.16, 18.97)
CIE-LCHlch(47.40, 43.51, 154.15°)
OKLaboklab(53.31% -0.1058 0.0475)
OKLCHoklch(53.31% 0.116 155.8)
XYZxyz(9.7567, 16.3251, 10.0325)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21804F #802152
analogous
#228021 #21804F #21807F
triadic
#21804F #4F2180 #804F21
tetradic
#21804F #212280 #802152 #807F21
square
#21804F #212280 #802152 #807F21
split-complementary
#21804F #7F2180 #802122
monochromatic
#081F13 #144F31 #21804F #2EB16D #4BD18C

Accessibility & contrast

On white

4.92
#21804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#21804F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21804F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21804F#FFFFFF#000000##FFFFFF
##21804F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754C
Deuteranopia (green-blind)
#746D52
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21804f;
/* rgb */ color: rgb(33, 128, 79);
/* oklch */ color: oklch(53.3% 0.116 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ba680',
    500: '#21804f',
    950: '#000000',
  },
}
SCSS
$custom: #21804f;
$custom-light: #6ba680;
$custom-dark: #000000;
JSON
{
  "hex": "#21804f",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 149.053,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.11604,
    "h": 155.8
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#21804F
secondary
#B34A80
accent
#4696E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21804F

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

Preview Lab → · Contrast checker → · Palette generator →

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