#628E4F#628E4F

#628E4F is a mid, moderate green. Relative luminance 0.225; OKLCH L 59.9% C 0.103 H 136.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#628E4F
RGBrgb(98, 142, 79)
HSLhsl(102, 29%, 43%)
HSVhsv(102, 44%, 56%)
CMYKcmyk(31%, 0%, 44.4%, 44.3%)
CIE-LABlab(54.56, -27.37, 28.82)
CIE-LCHlch(54.56, 39.74, 133.52°)
OKLaboklab(59.88% -0.075 0.0704)
OKLCHoklch(59.88% 0.103 136.8)
XYZxyz(16.1208, 22.5066, 10.8904)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E4F #7B4F8E
analogous
#818E4F #628E4F #4F8E5B
triadic
#628E4F #4F628E #8E4F62
tetradic
#628E4F #4F818E #7B4F8E #8E5B4F
square
#628E4F #4F818E #7B4F8E #8E5B4F
split-complementary
#628E4F #5B4F8E #8E4F81
monochromatic
#2C3F23 #476739 #628E4F #80AE6D #A2C394

Accessibility & contrast

On white

3.82
#628E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#628E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E4F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E4F#FFFFFF#000000##000000
##628E4F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854A
Deuteranopia (green-blind)
#8B8153
Tritanopia (blue-blind)
#618A7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e4f;
/* rgb */ color: rgb(98, 142, 79);
/* oklch */ color: oklch(59.9% 0.103 136.8);
Tailwind
colors: {
  custom: {
    50: '#90af81',
    500: '#628e4f',
    950: '#000000',
  },
}
SCSS
$custom: #628e4f;
$custom-light: #90af81;
$custom-dark: #000000;
JSON
{
  "hex": "#628e4f",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 101.905,
    "s": 28.507,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.10289,
    "h": 136.8
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#628E4F
secondary
#A489B0
accent
#63C5A7
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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