#628A4E#628A4E

#628A4E is a mid, moderate green. Relative luminance 0.213; OKLCH L 58.9% C 0.098 H 135.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#628A4E
RGBrgb(98, 138, 78)
HSLhsl(100, 28%, 42%)
HSVhsv(100, 43%, 54%)
CMYKcmyk(29%, 0%, 43.5%, 45.9%)
CIE-LABlab(53.30, -25.54, 27.75)
CIE-LCHlch(53.30, 37.72, 132.62°)
OKLaboklab(58.86% -0.07 0.068)
OKLCHoklch(58.86% 0.098 135.9)
XYZxyz(15.5002, 21.3232, 10.5054)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A4E #764E8A
analogous
#808A4E #628A4E #4E8A58
triadic
#628A4E #4E628A #8A4E62
tetradic
#628A4E #4E808A #764E8A #8A584E
square
#628A4E #4E808A #764E8A #8A584E
split-complementary
#628A4E #584E8A #8A4E80
monochromatic
#2A3C22 #466338 #628A4E #80AB6A #A1C191

Accessibility & contrast

On white

3.99
#628A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#628A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A4E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A4E#FFFFFF#000000##000000
##628A4E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8249
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#61867B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a4e;
/* rgb */ color: rgb(98, 138, 78);
/* oklch */ color: oklch(58.9% 0.098 135.9);
Tailwind
colors: {
  custom: {
    50: '#90ac80',
    500: '#628a4e',
    950: '#000000',
  },
}
SCSS
$custom: #628a4e;
$custom-light: #90ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#628a4e",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 100,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.09756,
    "h": 135.9
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#628A4E
secondary
#A086AE
accent
#64C4A4
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0D100A
muted
#7D7F7C

Preview Lab

Preview with #628A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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