#21852B#21852B

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

Color values

HEX#21852B
RGBrgb(33, 133, 43)
HSLhsl(126, 60%, 33%)
HSVhsv(126, 75%, 52%)
CMYKcmyk(75.2%, 0%, 67.7%, 47.8%)
CIE-LABlab(48.60, -46.82, 39.19)
CIE-LCHlch(48.60, 61.05, 140.07°)
OKLaboklab(54.14% -0.1266 0.0907)
OKLCHoklch(54.14% 0.156 144.4)
XYZxyz(9.4501, 17.2717, 5.1208)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21852B #85217B
analogous
#498521 #21852B #21855D
triadic
#21852B #2B2185 #852B21
tetradic
#21852B #214985 #85217B #855D21
square
#21852B #214985 #85217B #855D21
split-complementary
#21852B #5D2185 #852149
monochromatic
#09230B #15541B #21852B #2DB63B #4DD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21852B#FFFFFF#000000##FFFFFF
##21852B1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21852b;
/* rgb */ color: rgb(33, 133, 43);
/* oklch */ color: oklch(54.1% 0.156 144.4);
Tailwind
colors: {
  custom: {
    50: '#6da969',
    500: '#21852b',
    950: '#000000',
  },
}
SCSS
$custom: #21852b;
$custom-light: #6da969;
$custom-dark: #000000;
JSON
{
  "hex": "#21852b",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 126,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.15576,
    "h": 144.4
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#21852B
secondary
#B64CAB
accent
#44D3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21852B

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

Preview Lab → · Contrast checker → · Palette generator →

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