#21852A#21852A

#21852A is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.157 H 144.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#21852A
RGBrgb(33, 133, 42)
HSLhsl(125, 60%, 33%)
HSVhsv(125, 75%, 52%)
CMYKcmyk(75.2%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.59, -46.93, 39.62)
CIE-LCHlch(48.59, 61.42, 139.82°)
OKLaboklab(54.13% -0.1269 0.0916)
OKLCHoklch(54.13% 0.157 144.2)
XYZxyz(9.4320, 17.2645, 5.0253)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852A #85217C
analogous
#4A8521 #21852A #21855C
triadic
#21852A #2A2185 #852A21
tetradic
#21852A #214A85 #85217C #855C21
square
#21852A #214A85 #85217C #855C21
split-complementary
#21852A #5C2185 #85214A
monochromatic
#09230B #15541B #21852A #2DB639 #4DD359

Accessibility & contrast

On white

4.72
#21852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#21852A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21852A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21852A#FFFFFF#000000##FFFFFF
##21852A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21852a;
/* rgb */ color: rgb(33, 133, 42);
/* oklch */ color: oklch(54.1% 0.157 144.2);
Tailwind
colors: {
  custom: {
    50: '#6da968',
    500: '#21852a',
    950: '#000000',
  },
}
SCSS
$custom: #21852a;
$custom-light: #6da968;
$custom-dark: #000000;
JSON
{
  "hex": "#21852a",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 125.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.15652,
    "h": 144.2
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#21852A
secondary
#B64CAD
accent
#44D5E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21852A

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

Preview Lab → · Contrast checker → · Palette generator →

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