#20862F#20862F

#20862F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.154 H 145.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#20862F
RGBrgb(32, 134, 47)
HSLhsl(129, 61%, 33%)
HSVhsv(129, 76%, 53%)
CMYKcmyk(76.1%, 0%, 64.9%, 47.5%)
CIE-LABlab(48.96, -46.88, 37.75)
CIE-LCHlch(48.96, 60.19, 141.15°)
OKLaboklab(54.45% -0.1265 0.0881)
OKLCHoklch(54.45% 0.154 145.1)
XYZxyz(9.6332, 17.5614, 5.5708)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862F #862077
analogous
#448620 #20862F #208662
triadic
#20862F #2F2086 #862F20
tetradic
#20862F #204486 #862077 #866220
square
#20862F #204486 #862077 #866220
split-complementary
#20862F #622086 #862044
monochromatic
#08230C #14551E #20862F #2CB740 #4CD460

Accessibility & contrast

On white

4.65
#20862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#20862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #20862F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20862F#FFFFFF#000000##FFFFFF
##20862F1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20862f;
/* rgb */ color: rgb(32, 134, 47);
/* oklch */ color: oklch(54.4% 0.154 145.1);
Tailwind
colors: {
  custom: {
    50: '#6daa6b',
    500: '#20862f',
    950: '#000000',
  },
}
SCSS
$custom: #20862f;
$custom-light: #6daa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#20862f",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 128.824,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.15421,
    "h": 145.1
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#20862F
secondary
#B74BA7
accent
#43CDE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20862F

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

Preview Lab → · Contrast checker → · Palette generator →

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