#20874B#20874B

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

Color values

HEX#20874B
RGBrgb(32, 135, 75)
HSLhsl(145, 62%, 33%)
HSVhsv(145, 76%, 53%)
CMYKcmyk(76.3%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.67, -42.92, 24.20)
CIE-LCHlch(49.67, 49.27, 150.59°)
OKLaboklab(55.15% -0.1155 0.0598)
OKLCHoklch(55.15% 0.13 152.6)
XYZxyz(10.5287, 18.1418, 9.6021)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874B #87205C
analogous
#288720 #20874B #20877F
triadic
#20874B #4B2087 #874B20
tetradic
#20874B #202887 #87205C #877F20
square
#20874B #202887 #87205C #877F20
split-complementary
#20874B #7F2087 #872028
monochromatic
#092414 #145630 #20874B #2CB866 #4DD585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20874B#FFFFFF#000000##000000
##20874B1.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)
#877B47
Deuteranopia (green-blind)
#7B734F
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20874b;
/* rgb */ color: rgb(32, 135, 75);
/* oklch */ color: oklch(55.2% 0.130 152.6);
Tailwind
colors: {
  custom: {
    50: '#6cab7e',
    500: '#20874b',
    950: '#000000',
  },
}
SCSS
$custom: #20874b;
$custom-light: #6cab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#20874b",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 145.049,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.13008,
    "h": 152.6
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#20874B
secondary
#B84B8A
accent
#43A1E5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #20874B

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

Preview Lab → · Contrast checker → · Palette generator →

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