#20751C#20751C

#20751C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.147 H 142.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#20751C
RGBrgb(32, 117, 28)
HSLhsl(117, 61%, 28%)
HSVhsv(117, 76%, 46%)
CMYKcmyk(72.6%, 0%, 76.1%, 54.1%)
CIE-LABlab(42.93, -42.79, 39.56)
CIE-LCHlch(42.93, 58.27, 137.25°)
OKLaboklab(49.4% -0.1164 0.0896)
OKLCHoklch(49.4% 0.147 142.4)
XYZxyz(7.1661, 13.1127, 3.2517)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20751C #711C75
analogous
#4C751C #20751C #1C7544
triadic
#20751C #1C2075 #751C20
tetradic
#20751C #1C4C75 #711C75 #75441C
square
#20751C #1C4C75 #711C75 #75441C
split-complementary
#20751C #441C75 #751C4C
monochromatic
#071906 #124410 #20751C #2EA628 #42D03B

Accessibility & contrast

On white

5.80
#20751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#20751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20751C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20751C#FFFFFF#000000##FFFFFF
##20751C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#087164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20751c;
/* rgb */ color: rgb(32, 117, 28);
/* oklch */ color: oklch(49.4% 0.147 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#20751c',
    950: '#000000',
  },
}
SCSS
$custom: #20751c;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20751c",
  "rgb": {
    "r": 32,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 117.303,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.14689,
    "h": 142.4
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#20751C
secondary
#A544A9
accent
#43E4DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20751C

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

Preview Lab → · Contrast checker → · Palette generator →

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