#628F56#628F56

#628F56 is a mid, moderate green. Relative luminance 0.229; OKLCH L 60.3% C 0.097 H 139.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#628F56
RGBrgb(98, 143, 86)
HSLhsl(107, 25%, 45%)
HSVhsv(107, 40%, 56%)
CMYKcmyk(31.5%, 0%, 39.9%, 43.9%)
CIE-LABlab(54.98, -26.82, 25.56)
CIE-LCHlch(54.98, 37.05, 136.37°)
OKLaboklab(60.26% -0.0732 0.0632)
OKLCHoklch(60.26% 0.097 139.2)
XYZxyz(16.5386, 22.9128, 12.3535)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F56 #83568F
analogous
#7F8F56 #628F56 #568F66
triadic
#628F56 #56628F #8F5662
tetradic
#628F56 #567F8F #83568F #8F6656
square
#628F56 #567F8F #83568F #8F6656
split-complementary
#628F56 #66568F #8F567F
monochromatic
#2E4328 #48693F #628F56 #81AC76 #A4C39C

Accessibility & contrast

On white

3.76
#628F56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#628F56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F56
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F56#FFFFFF#000000##000000
##628F561.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928652
Deuteranopia (green-blind)
#8B8259
Tritanopia (blue-blind)
#5F8B81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #628f56;
/* rgb */ color: rgb(98, 143, 86);
/* oklch */ color: oklch(60.3% 0.097 139.2);
Tailwind
colors: {
  custom: {
    50: '#90b086',
    500: '#628f56',
    950: '#000000',
  },
}
SCSS
$custom: #628f56;
$custom-light: #90b086;
$custom-dark: #000000;
JSON
{
  "hex": "#628f56",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 107.368,
    "s": 24.891,
    "l": 44.902
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.09675,
    "h": 139.2
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#628F56
secondary
#AA90B1
accent
#66C1AE
background
#F9FAF8
surface
#F1F4EF
border
#CBCECA
text
#0D100B
muted
#7E7F7C

Preview Lab

Preview with #628F56

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

Preview Lab → · Contrast checker → · Palette generator →

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