#20751B#20751B

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

Color values

HEX#20751B
RGBrgb(32, 117, 27)
HSLhsl(117, 63%, 28%)
HSVhsv(117, 77%, 46%)
CMYKcmyk(72.6%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.93, -42.88, 39.94)
CIE-LCHlch(42.93, 58.60, 137.03°)
OKLaboklab(49.39% -0.1167 0.0903)
OKLCHoklch(49.39% 0.148 142.3)
XYZxyz(7.1544, 13.1080, 3.1898)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20751B #701B75
analogous
#4D751B #20751B #1B7543
triadic
#20751B #1B2075 #751B20
tetradic
#20751B #1B4D75 #701B75 #75431B
square
#20751B #1B4D75 #701B75 #75431B
split-complementary
#20751B #431B75 #751B4D
monochromatic
#071906 #124310 #20751B #2EA726 #42D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20751B#FFFFFF#000000##FFFFFF
##20751B1.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)
#78690A
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#087164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20751b;
/* rgb */ color: rgb(32, 117, 27);
/* oklch */ color: oklch(49.4% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#20751b',
    950: '#000000',
  },
}
SCSS
$custom: #20751b;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#20751b",
  "rgb": {
    "r": 32,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 116.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.14752,
    "h": 142.3
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#20751B
secondary
#A442A9
accent
#42E6DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20751B

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

Preview Lab → · Contrast checker → · Palette generator →

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