#20874D#20874D

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

Color values

HEX#20874D
RGBrgb(32, 135, 77)
HSLhsl(146, 62%, 33%)
HSVhsv(146, 76%, 53%)
CMYKcmyk(76.3%, 0%, 43%, 47.1%)
CIE-LABlab(49.70, -42.54, 23.14)
CIE-LCHlch(49.70, 48.42, 151.46°)
OKLaboklab(55.19% -0.1146 0.0574)
OKLCHoklch(55.19% 0.128 153.4)
XYZxyz(10.5982, 18.1696, 9.9683)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874D #87205A
analogous
#268720 #20874D #208781
triadic
#20874D #4D2087 #874D20
tetradic
#20874D #202687 #87205A #878120
square
#20874D #202687 #87205A #878120
split-complementary
#20874D #812087 #872026
monochromatic
#092415 #145631 #20874D #2CB869 #4DD588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20874D#FFFFFF#000000##000000
##20874D1.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)
#877B49
Deuteranopia (green-blind)
#7B7351
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20874d;
/* rgb */ color: rgb(32, 135, 77);
/* oklch */ color: oklch(55.2% 0.128 153.4);
Tailwind
colors: {
  custom: {
    50: '#6cab7f',
    500: '#20874d',
    950: '#000000',
  },
}
SCSS
$custom: #20874d;
$custom-light: #6cab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#20874d",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 77
  },
  "hsl": {
    "h": 146.214,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.12813,
    "h": 153.4
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#20874D
secondary
#B84B88
accent
#439EE5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #20874D

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

Preview Lab → · Contrast checker → · Palette generator →

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