#20874E#20874E

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

Color values

HEX#20874E
RGBrgb(32, 135, 78)
HSLhsl(147, 62%, 33%)
HSVhsv(147, 76%, 53%)
CMYKcmyk(76.3%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.72, -42.34, 22.61)
CIE-LCHlch(49.72, 48.00, 151.90°)
OKLaboklab(55.21% -0.1141 0.0561)
OKLCHoklch(55.21% 0.127 153.8)
XYZxyz(10.6338, 18.1838, 10.1557)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874E #872059
analogous
#258720 #20874E #208781
triadic
#20874E #4E2087 #874E20
tetradic
#20874E #202587 #872059 #878120
square
#20874E #202587 #872059 #878120
split-complementary
#20874E #812087 #872025
monochromatic
#092415 #145631 #20874E #2CB86B #4DD589

Accessibility & contrast

On white

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

On black

4.64
#20874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20874E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20874E#FFFFFF#000000##000000
##20874E1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20874e;
/* rgb */ color: rgb(32, 135, 78);
/* oklch */ color: oklch(55.2% 0.127 153.8);
Tailwind
colors: {
  custom: {
    50: '#6cab80',
    500: '#20874e',
    950: '#000000',
  },
}
SCSS
$custom: #20874e;
$custom-light: #6cab80;
$custom-dark: #000000;
JSON
{
  "hex": "#20874e",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 146.796,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.12715,
    "h": 153.8
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#20874E
secondary
#B84B87
accent
#439DE5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #20874E

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

Preview Lab → · Contrast checker → · Palette generator →

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