#207F1F#207F1F

#207F1F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.157 H 142.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#207F1F
RGBrgb(32, 127, 31)
HSLhsl(119, 61%, 31%)
HSVhsv(119, 76%, 50%)
CMYKcmyk(74.8%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.42, -46.07, 41.93)
CIE-LCHlch(46.42, 62.29, 137.70°)
OKLaboklab(52.3% -0.1251 0.095)
OKLCHoklch(52.3% 0.157 142.8)
XYZxyz(8.4318, 15.5838, 3.8597)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#207F1F #7E1F7F
analogous
#507F1F #207F1F #1F7F4E
triadic
#207F1F #1F207F #7F1F20
tetradic
#207F1F #1F507F #7E1F7F #7F4E1F
square
#207F1F #1F507F #7E1F7F #7F4E1F
split-complementary
#207F1F #4E1F7F #7F1F50
monochromatic
#071D07 #144E13 #207F1F #2CB02B #48D246

Accessibility & contrast

On white

5.10
#207F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#207F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #207F1F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##207F1F#FFFFFF#000000##FFFFFF
##207F1F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #207f1f;
/* rgb */ color: rgb(32, 127, 31);
/* oklch */ color: oklch(52.3% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca561',
    500: '#207f1f',
    950: '#000000',
  },
}
SCSS
$custom: #207f1f;
$custom-light: #6ca561;
$custom-dark: #000000;
JSON
{
  "hex": "#207f1f",
  "rgb": {
    "r": 32,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 119.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.523,
    "c": 0.15709,
    "h": 142.8
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#207F1F
secondary
#B148B2
accent
#44E4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #207F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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