#628868#628868

#628868 is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.9% C 0.064 H 148.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#628868
RGBrgb(98, 136, 104)
HSLhsl(129, 16%, 46%)
HSVhsv(129, 28%, 53%)
CMYKcmyk(27.9%, 0%, 23.5%, 46.7%)
CIE-LABlab(53.17, -20.14, 13.01)
CIE-LCHlch(53.17, 23.98, 147.14°)
OKLaboklab(58.91% -0.0552 0.0333)
OKLCHoklch(58.91% 0.064 148.9)
XYZxyz(16.3391, 21.2038, 16.3259)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628868 #886282
analogous
#6F8862 #628868 #62887B
triadic
#628868 #686288 #886862
tetradic
#628868 #626F88 #886282 #887B62
square
#628868 #626F88 #886282 #887B62
split-complementary
#628868 #7B6288 #88626F
monochromatic
#2F4132 #48644D #628868 #82A588 #A6BFAA

Accessibility & contrast

On white

4.01
#628868 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#628868 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628868
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628868#FFFFFF#000000##000000
##6288681.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#898166
Deuteranopia (green-blind)
#837D6A
Tritanopia (blue-blind)
#5D867F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628868;
/* rgb */ color: rgb(98, 136, 104);
/* oklch */ color: oklch(58.9% 0.064 148.9);
Tailwind
colors: {
  custom: {
    50: '#8fab93',
    500: '#628868',
    950: '#000000',
  },
}
SCSS
$custom: #628868;
$custom-light: #8fab93;
$custom-dark: #000000;
JSON
{
  "hex": "#628868",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 104
  },
  "hsl": {
    "h": 129.474,
    "s": 16.239,
    "l": 45.882
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.06449,
    "h": 148.9
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#628868
secondary
#AD98AA
accent
#6FADB9
background
#F8FAF9
surface
#F0F4F1
border
#CBCECB
text
#0C100D
muted
#7D7F7E

Preview Lab

Preview with #628868

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

Preview Lab → · Contrast checker → · Palette generator →

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