#628D52#628D52

#628D52 is a mid, moderate green. Relative luminance 0.223; OKLCH L 59.7% C 0.098 H 137.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#628D52
RGBrgb(98, 141, 82)
HSLhsl(104, 26%, 44%)
HSVhsv(104, 42%, 55%)
CMYKcmyk(30.5%, 0%, 41.8%, 44.7%)
CIE-LABlab(54.30, -26.44, 26.86)
CIE-LCHlch(54.30, 37.69, 134.55°)
OKLaboklab(59.68% -0.0723 0.0661)
OKLCHoklch(59.68% 0.098 137.6)
XYZxyz(16.0844, 22.2550, 11.4292)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D52 #7D528D
analogous
#7F8D52 #628D52 #528D5F
triadic
#628D52 #52628D #8D5262
tetradic
#628D52 #527F8D #7D528D #8D5F52
square
#628D52 #527F8D #7D528D #8D5F52
split-complementary
#628D52 #5F528D #8D527F
monochromatic
#2C4025 #47663B #628D52 #80AC70 #A3C297

Accessibility & contrast

On white

3.85
#628D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#628D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D52
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D52#FFFFFF#000000##000000
##628D521.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844E
Deuteranopia (green-blind)
#8A8055
Tritanopia (blue-blind)
#60897E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628d52;
/* rgb */ color: rgb(98, 141, 82);
/* oklch */ color: oklch(59.7% 0.098 137.6);
Tailwind
colors: {
  custom: {
    50: '#90ae83',
    500: '#628d52',
    950: '#000000',
  },
}
SCSS
$custom: #628d52;
$custom-light: #90ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#628d52",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 103.729,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.09795,
    "h": 137.6
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#628D52
secondary
#A68BAF
accent
#65C3A9
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100B
muted
#7E7F7C

Preview Lab

Preview with #628D52

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

Preview Lab → · Contrast checker → · Palette generator →

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