#628671#628671

#628671 is a mid, muted green. Relative luminance 0.208; OKLCH L 58.7% C 0.052 H 158.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#628671
RGBrgb(98, 134, 113)
HSLhsl(145, 16%, 45%)
HSVhsv(145, 27%, 53%)
CMYKcmyk(26.9%, 0%, 15.7%, 47.5%)
CIE-LABlab(52.77, -17.27, 7.26)
CIE-LCHlch(52.77, 18.74, 157.19°)
OKLaboklab(58.66% -0.0482 0.0188)
OKLCHoklch(58.66% 0.052 158.7)
XYZxyz(16.5418, 20.8385, 18.7702)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628671 #866277
analogous
#658662 #628671 #628683
triadic
#628671 #716286 #867162
tetradic
#628671 #626586 #866277 #868362
square
#628671 #626586 #866277 #868362
split-complementary
#628671 #836286 #866265
monochromatic
#2E3F35 #486353 #628671 #82A390 #A5BDAF

Accessibility & contrast

On white

4.06
#628671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#628671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628671
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628671#FFFFFF#000000##000000
##6286711.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858170
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#5B8680
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628671;
/* rgb */ color: rgb(98, 134, 113);
/* oklch */ color: oklch(58.7% 0.052 158.7);
Tailwind
colors: {
  custom: {
    50: '#8fa999',
    500: '#628671',
    950: '#000000',
  },
}
SCSS
$custom: #628671;
$custom-light: #8fa999;
$custom-dark: #000000;
JSON
{
  "hex": "#628671",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 113
  },
  "hsl": {
    "h": 145,
    "s": 15.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.05174,
    "h": 158.7
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#628671
secondary
#AC98A4
accent
#709AB8
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #628671

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

Preview Lab → · Contrast checker → · Palette generator →

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