#20874C#20874C

#20874C is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.129 H 153.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#20874C
RGBrgb(32, 135, 76)
HSLhsl(146, 62%, 33%)
HSVhsv(146, 76%, 53%)
CMYKcmyk(76.3%, 0%, 43.7%, 47.1%)
CIE-LABlab(49.68, -42.73, 23.67)
CIE-LCHlch(49.68, 48.85, 151.02°)
OKLaboklab(55.17% -0.115 0.0586)
OKLCHoklch(55.17% 0.129 153)
XYZxyz(10.5632, 18.1556, 9.7837)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874C #87205B
analogous
#278720 #20874C #20877F
triadic
#20874C #4C2087 #874C20
tetradic
#20874C #202787 #87205B #877F20
square
#20874C #202787 #87205B #877F20
split-complementary
#20874C #7F2087 #872027
monochromatic
#092414 #145630 #20874C #2CB868 #4DD587

Accessibility & contrast

On white

4.53
#20874C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#20874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20874C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20874C#FFFFFF#000000##000000
##20874C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B48
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20874c;
/* rgb */ color: rgb(32, 135, 76);
/* oklch */ color: oklch(55.2% 0.129 153.0);
Tailwind
colors: {
  custom: {
    50: '#6cab7f',
    500: '#20874c',
    950: '#000000',
  },
}
SCSS
$custom: #20874c;
$custom-light: #6cab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#20874c",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 145.631,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.1291,
    "h": 153
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#20874C
secondary
#B84B89
accent
#43A0E5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #20874C

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

Preview Lab → · Contrast checker → · Palette generator →

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