#20874A#20874A

#20874A is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.131 H 152.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#20874A
RGBrgb(32, 135, 74)
HSLhsl(144, 62%, 33%)
HSVhsv(144, 76%, 53%)
CMYKcmyk(76.3%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.65, -43.11, 24.73)
CIE-LCHlch(49.65, 49.69, 150.16°)
OKLaboklab(55.14% -0.116 0.061)
OKLCHoklch(55.14% 0.131 152.3)
XYZxyz(10.4947, 18.1282, 9.4232)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874A #87205D
analogous
#298720 #20874A #20877D
triadic
#20874A #4A2087 #874A20
tetradic
#20874A #202987 #87205D #877D20
square
#20874A #202987 #87205D #877D20
split-complementary
#20874A #7D2087 #872029
monochromatic
#092414 #14562F #20874A #2CB865 #4DD584

Accessibility & contrast

On white

4.54
#20874A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##20874A#FFFFFF#000000##000000
##20874A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B45
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20874a;
/* rgb */ color: rgb(32, 135, 74);
/* oklch */ color: oklch(55.1% 0.131 152.3);
Tailwind
colors: {
  custom: {
    50: '#6cab7d',
    500: '#20874a',
    950: '#000000',
  },
}
SCSS
$custom: #20874a;
$custom-light: #6cab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#20874a",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 144.466,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55135,
    "c": 0.13105,
    "h": 152.3
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#20874A
secondary
#B84B8B
accent
#43A3E5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #20874A

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

Preview Lab → · Contrast checker → · Palette generator →

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