#21854E#21854E

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

Color values

HEX#21854E
RGBrgb(33, 133, 78)
HSLhsl(147, 60%, 33%)
HSVhsv(147, 75%, 52%)
CMYKcmyk(75.2%, 0%, 41.4%, 47.8%)
CIE-LABlab(49.07, -41.39, 21.75)
CIE-LCHlch(49.07, 46.76, 152.28°)
OKLaboklab(54.68% -0.1116 0.0541)
OKLCHoklch(54.68% 0.124 154.1)
XYZxyz(10.3889, 17.6472, 10.0650)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21854E #852158
analogous
#268521 #21854E #218580
triadic
#21854E #4E2185 #854E21
tetradic
#21854E #212685 #852158 #858021
square
#21854E #212685 #852158 #858021
split-complementary
#21854E #802185 #852126
monochromatic
#092314 #155431 #21854E #2DB66B #4DD38A

Accessibility & contrast

On white

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

On black

4.53
#21854E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21854E#FFFFFF#000000##FFFFFF
##21854E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#797152
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21854e;
/* rgb */ color: rgb(33, 133, 78);
/* oklch */ color: oklch(54.7% 0.124 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ca980',
    500: '#21854e',
    950: '#000000',
  },
}
SCSS
$custom: #21854e;
$custom-light: #6ca980;
$custom-dark: #000000;
JSON
{
  "hex": "#21854e",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 78
  },
  "hsl": {
    "h": 147,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.12404,
    "h": 154.1
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#21854E
secondary
#B64C86
accent
#449CE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21854E

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

Preview Lab → · Contrast checker → · Palette generator →

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