#207F31#207F31

#207F31 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.144 H 145.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#207F31
RGBrgb(32, 127, 49)
HSLhsl(131, 60%, 31%)
HSVhsv(131, 75%, 50%)
CMYKcmyk(74.8%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.59, -44.10, 34.08)
CIE-LCHlch(46.59, 55.74, 142.30°)
OKLaboklab(52.49% -0.1189 0.0804)
OKLCHoklch(52.49% 0.144 145.9)
XYZxyz(8.7388, 15.7066, 5.4763)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#207F31 #7F206E
analogous
#3E7F20 #207F31 #207F60
triadic
#207F31 #31207F #7F3120
tetradic
#207F31 #203E7F #7F206E #7F6020
square
#207F31 #203E7F #7F206E #7F6020
split-complementary
#207F31 #60207F #7F203E
monochromatic
#071D0B #144E1E #207F31 #2CB044 #48D161

Accessibility & contrast

On white

5.07
#207F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#207F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #207F31
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##207F31#FFFFFF#000000##FFFFFF
##207F311.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#766B37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #207f31;
/* rgb */ color: rgb(32, 127, 49);
/* oklch */ color: oklch(52.5% 0.144 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ba56c',
    500: '#207f31',
    950: '#000000',
  },
}
SCSS
$custom: #207f31;
$custom-light: #6ba56c;
$custom-dark: #000000;
JSON
{
  "hex": "#207f31",
  "rgb": {
    "r": 32,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 130.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.1436,
    "h": 145.9
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#207F31
secondary
#B2499F
accent
#45C7E3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #207F31

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

Preview Lab → · Contrast checker → · Palette generator →

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