#20843E#20843E

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

Color values

HEX#20843E
RGBrgb(32, 132, 62)
HSLhsl(138, 61%, 32%)
HSVhsv(138, 76%, 52%)
CMYKcmyk(75.8%, 0%, 53%, 48.2%)
CIE-LABlab(48.46, -44.05, 29.68)
CIE-LCHlch(48.46, 53.11, 146.03°)
OKLaboklab(54.09% -0.1185 0.0717)
OKLCHoklch(54.09% 0.138 148.8)
XYZxyz(9.7157, 17.1563, 7.3560)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20843E #842066
analogous
#348420 #20843E #208470
triadic
#20843E #3E2084 #843E20
tetradic
#20843E #203484 #842066 #847020
square
#20843E #203484 #842066 #847020
split-complementary
#20843E #702084 #842034
monochromatic
#082110 #145327 #20843E #2CB555 #4BD374

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20843E#FFFFFF#000000##FFFFFF
##20843E1.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)
#857838
Deuteranopia (green-blind)
#7A7043
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20843e;
/* rgb */ color: rgb(32, 132, 62);
/* oklch */ color: oklch(54.1% 0.138 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ca975',
    500: '#20843e',
    950: '#000000',
  },
}
SCSS
$custom: #20843e;
$custom-light: #6ca975;
$custom-dark: #000000;
JSON
{
  "hex": "#20843e",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 62
  },
  "hsl": {
    "h": 138,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.13848,
    "h": 148.8
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#20843E
secondary
#B64A96
accent
#44B4E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #20843E

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

Preview Lab → · Contrast checker → · Palette generator →

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