#20852C#20852C

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

Color values

HEX#20852C
RGBrgb(32, 133, 44)
HSLhsl(127, 61%, 32%)
HSVhsv(127, 76%, 52%)
CMYKcmyk(75.9%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.59, -46.87, 38.72)
CIE-LCHlch(48.59, 60.80, 140.44°)
OKLaboklab(54.13% -0.1267 0.0899)
OKLCHoklch(54.13% 0.155 144.6)
XYZxyz(9.4372, 17.2629, 5.2171)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20852C #852079
analogous
#468520 #20852C #20855F
triadic
#20852C #2C2085 #852C20
tetradic
#20852C #204685 #852079 #855F20
square
#20852C #204685 #852079 #855F20
split-complementary
#20852C #5F2085 #852046
monochromatic
#08220B #14541C #20852C #2CB63C #4CD45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20852C#FFFFFF#000000##FFFFFF
##20852C1.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)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20852c;
/* rgb */ color: rgb(32, 133, 44);
/* oklch */ color: oklch(54.1% 0.155 144.6);
Tailwind
colors: {
  custom: {
    50: '#6daa69',
    500: '#20852c',
    950: '#000000',
  },
}
SCSS
$custom: #20852c;
$custom-light: #6daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#20852c",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 127.129,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.15531,
    "h": 144.6
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#20852C
secondary
#B74AAA
accent
#43D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20852C

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

Preview Lab → · Contrast checker → · Palette generator →

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