#21854B#21854B

#21854B is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.127 H 152.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#21854B
RGBrgb(33, 133, 75)
HSLhsl(145, 60%, 33%)
HSVhsv(145, 75%, 52%)
CMYKcmyk(75.2%, 0%, 43.6%, 47.8%)
CIE-LABlab(49.01, -41.98, 23.35)
CIE-LCHlch(49.01, 48.03, 150.91°)
OKLaboklab(54.62% -0.1131 0.0578)
OKLCHoklch(54.62% 0.127 152.9)
XYZxyz(10.2838, 17.6052, 9.5114)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21854B #85215B
analogous
#298521 #21854B #21857D
triadic
#21854B #4B2185 #854B21
tetradic
#21854B #212985 #85215B #857D21
square
#21854B #212985 #85215B #857D21
split-complementary
#21854B #7D2185 #852129
monochromatic
#092314 #15542F #21854B #2DB667 #4DD386

Accessibility & contrast

On white

4.64
#21854B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#21854B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21854B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21854B#FFFFFF#000000##FFFFFF
##21854B1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A47
Deuteranopia (green-blind)
#79714F
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21854b;
/* rgb */ color: rgb(33, 133, 75);
/* oklch */ color: oklch(54.6% 0.127 152.9);
Tailwind
colors: {
  custom: {
    50: '#6ca97e',
    500: '#21854b',
    950: '#000000',
  },
}
SCSS
$custom: #21854b;
$custom-light: #6ca97e;
$custom-dark: #000000;
JSON
{
  "hex": "#21854b",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 75
  },
  "hsl": {
    "h": 145.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.12698,
    "h": 152.9
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#21854B
secondary
#B64C89
accent
#44A1E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21854B

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

Preview Lab → · Contrast checker → · Palette generator →

#21854B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva