#21852E#21852E

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

Color values

HEX#21852E
RGBrgb(33, 133, 46)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 52%)
CMYKcmyk(75.2%, 0%, 65.4%, 47.8%)
CIE-LABlab(48.63, -46.47, 37.85)
CIE-LCHlch(48.63, 59.94, 140.84°)
OKLaboklab(54.18% -0.1255 0.0882)
OKLCHoklch(54.18% 0.153 144.9)
XYZxyz(9.5072, 17.2946, 5.4214)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852E #852178
analogous
#468521 #21852E #218560
triadic
#21852E #2E2185 #852E21
tetradic
#21852E #214685 #852178 #856021
square
#21852E #214685 #852178 #856021
split-complementary
#21852E #602185 #852146
monochromatic
#09230C #15541D #21852E #2DB63F #4DD35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21852E#FFFFFF#000000##FFFFFF
##21852E1.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)
#877824
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21852e;
/* rgb */ color: rgb(33, 133, 46);
/* oklch */ color: oklch(54.2% 0.153 144.9);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#21852e',
    950: '#000000',
  },
}
SCSS
$custom: #21852e;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#21852e",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 127.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.15344,
    "h": 144.9
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#21852E
secondary
#B64CA8
accent
#44CFE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21852E

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

Preview Lab → · Contrast checker → · Palette generator →

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