#21852D#21852D

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

Color values

HEX#21852D
RGBrgb(33, 133, 45)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 52%)
CMYKcmyk(75.2%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.62, -46.59, 38.30)
CIE-LCHlch(48.62, 60.31, 140.58°)
OKLaboklab(54.17% -0.1259 0.0891)
OKLCHoklch(54.17% 0.154 144.7)
XYZxyz(9.4877, 17.2868, 5.3188)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852D #852179
analogous
#478521 #21852D #21855F
triadic
#21852D #2D2185 #852D21
tetradic
#21852D #214785 #852179 #855F21
square
#21852D #214785 #852179 #855F21
split-complementary
#21852D #5F2185 #852147
monochromatic
#09230C #15541C #21852D #2DB63E #4DD35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21852D#FFFFFF#000000##FFFFFF
##21852D1.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)
#877822
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21852d;
/* rgb */ color: rgb(33, 133, 45);
/* oklch */ color: oklch(54.2% 0.154 144.7);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#21852d',
    950: '#000000',
  },
}
SCSS
$custom: #21852d;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#21852d",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 127.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.15423,
    "h": 144.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#21852D
secondary
#B64CA9
accent
#44D0E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21852D

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

Preview Lab → · Contrast checker → · Palette generator →

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