#628271#628271

#628271 is a mid, muted green. Relative luminance 0.198; OKLCH L 57.7% C 0.045 H 161.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#628271
RGBrgb(98, 130, 113)
HSLhsl(148, 14%, 45%)
HSVhsv(148, 25%, 51%)
CMYKcmyk(24.6%, 0%, 13.1%, 49%)
CIE-LABlab(51.56, -15.12, 5.53)
CIE-LCHlch(51.56, 16.10, 159.92°)
OKLaboklab(57.69% -0.0425 0.0143)
OKLCHoklch(57.69% 0.045 161.4)
XYZxyz(15.9994, 19.7536, 18.5894)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628271 #826273
analogous
#638262 #628271 #628281
triadic
#628271 #716282 #827162
tetradic
#628271 #626382 #826273 #828162
square
#628271 #626382 #826273 #828162
split-complementary
#628271 #816282 #826263
monochromatic
#2D3C34 #485F53 #628271 #81A090 #A4BAAF

Accessibility & contrast

On white

4.24
#628271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#628271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628271
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628271#FFFFFF#000000##000000
##6282711.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D70
Deuteranopia (green-blind)
#7B7972
Tritanopia (blue-blind)
#5C827D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628271;
/* rgb */ color: rgb(98, 130, 113);
/* oklch */ color: oklch(57.7% 0.045 161.4);
Tailwind
colors: {
  custom: {
    50: '#8fa699',
    500: '#628271',
    950: '#000000',
  },
}
SCSS
$custom: #628271;
$custom-light: #8fa699;
$custom-dark: #000000;
JSON
{
  "hex": "#628271",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 148.125,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.04484,
    "h": 161.4
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#628271
secondary
#A997A0
accent
#7196B7
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C0F0E
muted
#7D7F7E

Preview Lab

Preview with #628271

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

Preview Lab → · Contrast checker → · Palette generator →

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