#21852C#21852C

#21852C is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.155 H 144.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#21852C
RGBrgb(33, 133, 44)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 52%)
CMYKcmyk(75.2%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.61, -46.70, 38.75)
CIE-LCHlch(48.61, 60.69, 140.32°)
OKLaboklab(54.15% -0.1262 0.0899)
OKLCHoklch(54.15% 0.155 144.5)
XYZxyz(9.4687, 17.2792, 5.2186)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852C #85217A
analogous
#488521 #21852C #21855E
triadic
#21852C #2C2185 #852C21
tetradic
#21852C #214885 #85217A #855E21
square
#21852C #214885 #85217A #855E21
split-complementary
#21852C #5E2185 #852148
monochromatic
#09230C #15541C #21852C #2DB63C #4DD35C

Accessibility & contrast

On white

4.71
#21852C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#21852C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21852C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21852C#FFFFFF#000000##FFFFFF
##21852C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21852c;
/* rgb */ color: rgb(33, 133, 44);
/* oklch */ color: oklch(54.2% 0.155 144.5);
Tailwind
colors: {
  custom: {
    50: '#6da969',
    500: '#21852c',
    950: '#000000',
  },
}
SCSS
$custom: #21852c;
$custom-light: #6da969;
$custom-dark: #000000;
JSON
{
  "hex": "#21852c",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 126.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.155,
    "h": 144.5
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#21852C
secondary
#B64CAA
accent
#44D2E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21852C

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

Preview Lab → · Contrast checker → · Palette generator →

#21852C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva