#207840#207840

#207840 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.120 H 151.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#207840
RGBrgb(32, 120, 64)
HSLhsl(142, 58%, 30%)
HSVhsv(142, 73%, 47%)
CMYKcmyk(73.3%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.39, -39.03, 23.47)
CIE-LCHlch(44.39, 45.55, 148.98°)
OKLaboklab(50.74% -0.1051 0.0577)
OKLCHoklch(50.74% 0.12 151.2)
XYZxyz(8.2369, 14.1093, 7.1388)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#207840 #782058
analogous
#2C7820 #207840 #20786C
triadic
#207840 #402078 #784020
tetradic
#207840 #202C78 #782058 #786C20
square
#207840 #202C78 #782058 #786C20
split-complementary
#207840 #6C2078 #78202C
monochromatic
#06180D #134826 #207840 #2DA85A #45CD77

Accessibility & contrast

On white

5.49
#207840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#207840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #207840
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##207840#FFFFFF#000000##FFFFFF
##2078401.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #207840;
/* rgb */ color: rgb(32, 120, 64);
/* oklch */ color: oklch(50.7% 0.120 151.2);
Tailwind
colors: {
  custom: {
    50: '#69a075',
    500: '#207840',
    950: '#000000',
  },
}
SCSS
$custom: #207840;
$custom-light: #69a075;
$custom-dark: #000000;
JSON
{
  "hex": "#207840",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 141.818,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.11992,
    "h": 151.2
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#207840
secondary
#AB4887
accent
#47A9E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #207840

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

Preview Lab → · Contrast checker → · Palette generator →

#207840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva