#20852E#20852E

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

Color values

HEX#20852E
RGBrgb(32, 133, 46)
HSLhsl(128, 61%, 32%)
HSVhsv(128, 76%, 52%)
CMYKcmyk(75.9%, 0%, 65.4%, 47.8%)
CIE-LABlab(48.61, -46.64, 37.82)
CIE-LCHlch(48.61, 60.05, 140.96°)
OKLaboklab(54.15% -0.1259 0.0882)
OKLCHoklch(54.15% 0.154 145)
XYZxyz(9.4757, 17.2783, 5.4199)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20852E #852077
analogous
#448520 #20852E #208561
triadic
#20852E #2E2085 #852E20
tetradic
#20852E #204485 #852077 #856120
square
#20852E #204485 #852077 #856120
split-complementary
#20852E #612085 #852044
monochromatic
#08220C #14541D #20852E #2CB63F #4CD45E

Accessibility & contrast

On white

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

On black

4.46
#20852E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20852E#FFFFFF#000000##FFFFFF
##20852E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20852e;
/* rgb */ color: rgb(32, 133, 46);
/* oklch */ color: oklch(54.2% 0.154 145.0);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#20852e',
    950: '#000000',
  },
}
SCSS
$custom: #20852e;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#20852e",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 128.317,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.15375,
    "h": 145
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#20852E
secondary
#B74AA8
accent
#43CEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20852E

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

Preview Lab → · Contrast checker → · Palette generator →

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