#628F52#628F52

#628F52 is a mid, moderate green. Relative luminance 0.229; OKLCH L 60.2% C 0.101 H 137.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#628F52
RGBrgb(98, 143, 82)
HSLhsl(104, 27%, 44%)
HSVhsv(104, 43%, 56%)
CMYKcmyk(31.5%, 0%, 42.7%, 43.9%)
CIE-LABlab(54.92, -27.42, 27.66)
CIE-LCHlch(54.92, 38.95, 134.76°)
OKLaboklab(60.18% -0.075 0.0679)
OKLCHoklch(60.18% 0.101 137.9)
XYZxyz(16.3820, 22.8502, 11.5284)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F52 #7F528F
analogous
#818F52 #628F52 #528F61
triadic
#628F52 #52628F #8F5262
tetradic
#628F52 #52818F #7F528F #8F6152
square
#628F52 #52818F #7F528F #8F6152
split-complementary
#628F52 #61528F #8F5281
monochromatic
#2D4125 #47683C #628F52 #81AD71 #A3C498

Accessibility & contrast

On white

3.77
#628F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#628F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F52
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F52#FFFFFF#000000##000000
##628F521.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864D
Deuteranopia (green-blind)
#8C8256
Tritanopia (blue-blind)
#608B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f52;
/* rgb */ color: rgb(98, 143, 82);
/* oklch */ color: oklch(60.2% 0.101 137.9);
Tailwind
colors: {
  custom: {
    50: '#90b083',
    500: '#628f52',
    950: '#000000',
  },
}
SCSS
$custom: #628f52;
$custom-light: #90b083;
$custom-dark: #000000;
JSON
{
  "hex": "#628f52",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 104.262,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.10119,
    "h": 137.9
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#628F52
secondary
#A78CB1
accent
#64C3AB
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100B
muted
#7E7F7C

Preview Lab

Preview with #628F52

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

Preview Lab → · Contrast checker → · Palette generator →

#628F52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva