#207F40#207F40

#207F40 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.130 H 150.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#207F40
RGBrgb(32, 127, 64)
HSLhsl(140, 60%, 31%)
HSVhsv(140, 75%, 50%)
CMYKcmyk(74.8%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.78, -41.80, 26.52)
CIE-LCHlch(46.78, 49.50, 147.61°)
OKLaboklab(52.72% -0.1125 0.0647)
OKLCHoklch(52.72% 0.13 150.1)
XYZxyz(9.1097, 15.8549, 7.4297)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#207F40 #7F205F
analogous
#2F7F20 #207F40 #207F6F
triadic
#207F40 #40207F #7F4020
tetradic
#207F40 #202F7F #7F205F #7F6F20
square
#207F40 #202F7F #7F205F #7F6F20
split-complementary
#207F40 #6F207F #7F202F
monochromatic
#071D0F #144E27 #207F40 #2CB059 #48D176

Accessibility & contrast

On white

5.03
#207F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#207F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #207F40
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##207F40#FFFFFF#000000##FFFFFF
##207F401.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #207f40;
/* rgb */ color: rgb(32, 127, 64);
/* oklch */ color: oklch(52.7% 0.130 150.1);
Tailwind
colors: {
  custom: {
    50: '#6aa576',
    500: '#207f40',
    950: '#000000',
  },
}
SCSS
$custom: #207f40;
$custom-light: #6aa576;
$custom-dark: #000000;
JSON
{
  "hex": "#207f40",
  "rgb": {
    "r": 32,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 140.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.12974,
    "h": 150.1
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#207F40
secondary
#B2498F
accent
#45AEE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #207F40

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

Preview Lab → · Contrast checker → · Palette generator →

#207F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva