#20843C#20843C

#20843C is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.140 H 148.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#20843C
RGBrgb(32, 132, 60)
HSLhsl(137, 61%, 32%)
HSVhsv(137, 76%, 52%)
CMYKcmyk(75.8%, 0%, 54.5%, 48.2%)
CIE-LABlab(48.43, -44.36, 30.69)
CIE-LCHlch(48.43, 53.94, 145.32°)
OKLaboklab(54.06% -0.1193 0.0739)
OKLCHoklch(54.06% 0.14 148.3)
XYZxyz(9.6618, 17.1347, 7.0722)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20843C #842068
analogous
#368420 #20843C #20846E
triadic
#20843C #3C2084 #843C20
tetradic
#20843C #203684 #842068 #846E20
square
#20843C #203684 #842068 #846E20
split-complementary
#20843C #6E2084 #842036
monochromatic
#08210F #145326 #20843C #2CB552 #4BD371

Accessibility & contrast

On white

4.74
#20843C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20843C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20843C#FFFFFF#000000##FFFFFF
##20843C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20843c;
/* rgb */ color: rgb(32, 132, 60);
/* oklch */ color: oklch(54.1% 0.140 148.3);
Tailwind
colors: {
  custom: {
    50: '#6ca973',
    500: '#20843c',
    950: '#000000',
  },
}
SCSS
$custom: #20843c;
$custom-light: #6ca973;
$custom-dark: #000000;
JSON
{
  "hex": "#20843c",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 60
  },
  "hsl": {
    "h": 136.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.14035,
    "h": 148.3
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#20843C
secondary
#B64A98
accent
#44B7E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #20843C

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

Preview Lab → · Contrast checker → · Palette generator →

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