#20843B#20843B

#20843B is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.141 H 148.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#20843B
RGBrgb(32, 132, 59)
HSLhsl(136, 61%, 32%)
HSVhsv(136, 76%, 52%)
CMYKcmyk(75.8%, 0%, 55.3%, 48.2%)
CIE-LABlab(48.42, -44.52, 31.19)
CIE-LCHlch(48.42, 54.36, 144.98°)
OKLaboklab(54.04% -0.1198 0.0749)
OKLCHoklch(54.04% 0.141 148)
XYZxyz(9.6356, 17.1243, 6.9343)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20843B #842069
analogous
#378420 #20843B #20846D
triadic
#20843B #3B2084 #843B20
tetradic
#20843B #203784 #842069 #846D20
square
#20843B #203784 #842069 #846D20
split-complementary
#20843B #6D2084 #842037
monochromatic
#08210F #145325 #20843B #2CB551 #4BD370

Accessibility & contrast

On white

4.75
#20843B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#20843B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20843B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20843B#FFFFFF#000000##FFFFFF
##20843B1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857834
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20843b;
/* rgb */ color: rgb(32, 132, 59);
/* oklch */ color: oklch(54.0% 0.141 148.0);
Tailwind
colors: {
  custom: {
    50: '#6ca973',
    500: '#20843b',
    950: '#000000',
  },
}
SCSS
$custom: #20843b;
$custom-light: #6ca973;
$custom-dark: #000000;
JSON
{
  "hex": "#20843b",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 59
  },
  "hsl": {
    "h": 136.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.14127,
    "h": 148
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#20843B
secondary
#B64A99
accent
#44B9E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #20843B

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

Preview Lab → · Contrast checker → · Palette generator →

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