#20852B#20852B

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

Color values

HEX#20852B
RGBrgb(32, 133, 43)
HSLhsl(127, 61%, 32%)
HSVhsv(127, 76%, 52%)
CMYKcmyk(75.9%, 0%, 67.7%, 47.8%)
CIE-LABlab(48.58, -46.99, 39.16)
CIE-LCHlch(48.58, 61.17, 140.19°)
OKLaboklab(54.12% -0.127 0.0907)
OKLCHoklch(54.12% 0.156 144.5)
XYZxyz(9.4186, 17.2555, 5.1193)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20852B #85207A
analogous
#478520 #20852B #20855E
triadic
#20852B #2B2085 #852B20
tetradic
#20852B #204785 #85207A #855E20
square
#20852B #204785 #85207A #855E20
split-complementary
#20852B #5E2085 #852047
monochromatic
#08220B #14541B #20852B #2CB63B #4CD45A

Accessibility & contrast

On white

4.72
#20852B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20852B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20852B#FFFFFF#000000##FFFFFF
##20852B1.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)
#877820
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20852b;
/* rgb */ color: rgb(32, 133, 43);
/* oklch */ color: oklch(54.1% 0.156 144.5);
Tailwind
colors: {
  custom: {
    50: '#6daa69',
    500: '#20852b',
    950: '#000000',
  },
}
SCSS
$custom: #20852b;
$custom-light: #6daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#20852b",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 126.535,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.15607,
    "h": 144.5
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#20852B
secondary
#B74AAB
accent
#43D3E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20852B

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

Preview Lab → · Contrast checker → · Palette generator →

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