#20852D#20852D

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

Color values

HEX#20852D
RGBrgb(32, 133, 45)
HSLhsl(128, 61%, 32%)
HSVhsv(128, 76%, 52%)
CMYKcmyk(75.9%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.60, -46.76, 38.27)
CIE-LCHlch(48.60, 60.43, 140.70°)
OKLaboklab(54.14% -0.1263 0.089)
OKLCHoklch(54.14% 0.155 144.8)
XYZxyz(9.4562, 17.2705, 5.3173)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20852D #852078
analogous
#458520 #20852D #208560
triadic
#20852D #2D2085 #852D20
tetradic
#20852D #204585 #852078 #856020
square
#20852D #204585 #852078 #856020
split-complementary
#20852D #602085 #852045
monochromatic
#08220C #14541C #20852D #2CB63E #4CD45D

Accessibility & contrast

On white

4.71
#20852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20852D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20852D#FFFFFF#000000##FFFFFF
##20852D1.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)
#877822
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20852d;
/* rgb */ color: rgb(32, 133, 45);
/* oklch */ color: oklch(54.1% 0.155 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#20852d',
    950: '#000000',
  },
}
SCSS
$custom: #20852d;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#20852d",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 127.723,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.15453,
    "h": 144.8
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#20852D
secondary
#B74AA9
accent
#43D0E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20852D

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

Preview Lab → · Contrast checker → · Palette generator →

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