#20751A#20751A

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

Color values

HEX#20751A
RGBrgb(32, 117, 26)
HSLhsl(116, 64%, 28%)
HSVhsv(116, 78%, 46%)
CMYKcmyk(72.6%, 0%, 77.8%, 54.1%)
CIE-LABlab(42.92, -42.96, 40.32)
CIE-LCHlch(42.92, 58.92, 136.82°)
OKLaboklab(49.38% -0.1169 0.0909)
OKLCHoklch(49.38% 0.148 142.1)
XYZxyz(7.1430, 13.1035, 3.1299)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20751A #6F1A75
analogous
#4D751A #20751A #1A7541
triadic
#20751A #1A2075 #751A20
tetradic
#20751A #1A4D75 #6F1A75 #75411A
square
#20751A #1A4D75 #6F1A75 #75411A
split-complementary
#20751A #411A75 #751A4D
monochromatic
#071906 #12430F #20751A #2EA725 #41D337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20751A#FFFFFF#000000##FFFFFF
##20751A1.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)
#786907
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#097164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20751a;
/* rgb */ color: rgb(32, 117, 26);
/* oklch */ color: oklch(49.4% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9e5d',
    500: '#20751a',
    950: '#000000',
  },
}
SCSS
$custom: #20751a;
$custom-light: #6a9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20751a",
  "rgb": {
    "r": 32,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 116.044,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.14813,
    "h": 142.1
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#20751A
secondary
#A341AA
accent
#41E7DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20751A

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

Preview Lab → · Contrast checker → · Palette generator →

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