#20751F#20751F

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

Color values

HEX#20751F
RGBrgb(32, 117, 31)
HSLhsl(119, 58%, 29%)
HSVhsv(119, 74%, 46%)
CMYKcmyk(72.6%, 0%, 73.5%, 54.1%)
CIE-LABlab(42.96, -42.52, 38.36)
CIE-LCHlch(42.96, 57.26, 137.95°)
OKLaboklab(49.42% -0.1155 0.0875)
OKLCHoklch(49.42% 0.145 142.8)
XYZxyz(7.2038, 13.1278, 3.4503)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20751F #741F75
analogous
#4B751F #20751F #1F7549
triadic
#20751F #1F2075 #751F20
tetradic
#20751F #1F4B75 #741F75 #75491F
square
#20751F #1F4B75 #741F75 #75491F
split-complementary
#20751F #491F75 #751F4B
monochromatic
#071806 #134512 #20751F #2DA52C #43CD42

Accessibility & contrast

On white

5.79
#20751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#20751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20751F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20751F#FFFFFF#000000##FFFFFF
##20751F1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#077164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20751f;
/* rgb */ color: rgb(32, 117, 31);
/* oklch */ color: oklch(49.4% 0.145 142.8);
Tailwind
colors: {
  custom: {
    50: '#699e60',
    500: '#20751f',
    950: '#000000',
  },
}
SCSS
$custom: #20751f;
$custom-light: #699e60;
$custom-dark: #000000;
JSON
{
  "hex": "#20751f",
  "rgb": {
    "r": 32,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 119.302,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.1449,
    "h": 142.8
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#20751F
secondary
#A847A9
accent
#46E1E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20751F

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

Preview Lab → · Contrast checker → · Palette generator →

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