#20843F#20843F

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

Color values

HEX#20843F
RGBrgb(32, 132, 63)
HSLhsl(139, 61%, 32%)
HSVhsv(139, 76%, 52%)
CMYKcmyk(75.8%, 0%, 52.3%, 48.2%)
CIE-LABlab(48.47, -43.88, 29.16)
CIE-LCHlch(48.47, 52.69, 146.39°)
OKLaboklab(54.1% -0.118 0.0706)
OKLCHoklch(54.1% 0.138 149.1)
XYZxyz(9.7434, 17.1674, 7.5018)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20843F #842065
analogous
#338420 #20843F #208471
triadic
#20843F #3F2084 #843F20
tetradic
#20843F #203384 #842065 #847120
square
#20843F #203384 #842065 #847120
split-complementary
#20843F #712084 #842033
monochromatic
#082110 #145327 #20843F #2CB557 #4BD375

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20843F#FFFFFF#000000##FFFFFF
##20843F1.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)
#857839
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20843f;
/* rgb */ color: rgb(32, 132, 63);
/* oklch */ color: oklch(54.1% 0.138 149.1);
Tailwind
colors: {
  custom: {
    50: '#6ca975',
    500: '#20843f',
    950: '#000000',
  },
}
SCSS
$custom: #20843f;
$custom-light: #6ca975;
$custom-dark: #000000;
JSON
{
  "hex": "#20843f",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 63
  },
  "hsl": {
    "h": 138.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.13754,
    "h": 149.1
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#20843F
secondary
#B64A95
accent
#44B2E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #20843F

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

Preview Lab → · Contrast checker → · Palette generator →

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