#21852F#21852F

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

Color values

HEX#21852F
RGBrgb(33, 133, 47)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 52%)
CMYKcmyk(75.2%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.64, -46.35, 37.40)
CIE-LCHlch(48.64, 59.56, 141.10°)
OKLaboklab(54.19% -0.1252 0.0874)
OKLCHoklch(54.19% 0.153 145.1)
XYZxyz(9.5272, 17.3025, 5.5264)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852F #852177
analogous
#458521 #21852F #218561
triadic
#21852F #2F2185 #852F21
tetradic
#21852F #214585 #852177 #856121
square
#21852F #214585 #852177 #856121
split-complementary
#21852F #612185 #852145
monochromatic
#09230C #15541E #21852F #2DB640 #4DD360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21852f;
/* rgb */ color: rgb(33, 133, 47);
/* oklch */ color: oklch(54.2% 0.153 145.1);
Tailwind
colors: {
  custom: {
    50: '#6da96b',
    500: '#21852f',
    950: '#000000',
  },
}
SCSS
$custom: #21852f;
$custom-light: #6da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#21852f",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 128.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.15265,
    "h": 145.1
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#21852F
secondary
#B64CA7
accent
#44CDE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21852F

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

Preview Lab → · Contrast checker → · Palette generator →

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