#20874F#20874F

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

Color values

HEX#20874F
RGBrgb(32, 135, 79)
HSLhsl(147, 62%, 33%)
HSVhsv(147, 76%, 53%)
CMYKcmyk(76.3%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.74, -42.14, 22.07)
CIE-LCHlch(49.74, 47.57, 152.36°)
OKLaboklab(55.23% -0.1136 0.0549)
OKLCHoklch(55.23% 0.126 154.2)
XYZxyz(10.6699, 18.1983, 10.3459)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20874F #872058
analogous
#248720 #20874F #208783
triadic
#20874F #4F2087 #874F20
tetradic
#20874F #202487 #872058 #878320
square
#20874F #202487 #872058 #878320
split-complementary
#20874F #832087 #872024
monochromatic
#092415 #145632 #20874F #2CB86C #4DD58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20874F#FFFFFF#000000##000000
##20874F1.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)
#877C4B
Deuteranopia (green-blind)
#7A7353
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20874f;
/* rgb */ color: rgb(32, 135, 79);
/* oklch */ color: oklch(55.2% 0.126 154.2);
Tailwind
colors: {
  custom: {
    50: '#6cab81',
    500: '#20874f',
    950: '#000000',
  },
}
SCSS
$custom: #20874f;
$custom-light: #6cab81;
$custom-dark: #000000;
JSON
{
  "hex": "#20874f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 147.379,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.12617,
    "h": 154.2
  },
  "luminance": 0.182
}

Semantic roles & 50–950 ramp

primary
#20874F
secondary
#B84B86
accent
#439BE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #20874F

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

Preview Lab → · Contrast checker → · Palette generator →

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