#20852F#20852F

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

Color values

HEX#20852F
RGBrgb(32, 133, 47)
HSLhsl(129, 61%, 32%)
HSVhsv(129, 76%, 52%)
CMYKcmyk(75.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.62, -46.52, 37.37)
CIE-LCHlch(48.62, 59.67, 141.23°)
OKLaboklab(54.17% -0.1256 0.0873)
OKLCHoklch(54.17% 0.153 145.2)
XYZxyz(9.4956, 17.2863, 5.5249)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20852F #852076
analogous
#438520 #20852F #208562
triadic
#20852F #2F2085 #852F20
tetradic
#20852F #204385 #852076 #856220
square
#20852F #204385 #852076 #856220
split-complementary
#20852F #622085 #852043
monochromatic
#08220C #14541E #20852F #2CB640 #4CD460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20852F#FFFFFF#000000##FFFFFF
##20852F1.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)
#877825
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20852f;
/* rgb */ color: rgb(32, 133, 47);
/* oklch */ color: oklch(54.2% 0.153 145.2);
Tailwind
colors: {
  custom: {
    50: '#6da96b',
    500: '#20852f',
    950: '#000000',
  },
}
SCSS
$custom: #20852f;
$custom-light: #6da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#20852f",
  "rgb": {
    "r": 32,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 128.911,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.15296,
    "h": 145.2
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#20852F
secondary
#B74AA7
accent
#43CCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20852F

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

Preview Lab → · Contrast checker → · Palette generator →

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