#628F4E#628F4E

#628F4E is a mid, moderate green. Relative luminance 0.228; OKLCH L 60.1% C 0.106 H 136.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#628F4E
RGBrgb(98, 143, 78)
HSLhsl(102, 29%, 43%)
HSVhsv(102, 45%, 56%)
CMYKcmyk(31.5%, 0%, 45.5%, 43.9%)
CIE-LABlab(54.86, -28.00, 29.73)
CIE-LCHlch(54.86, 40.84, 133.28°)
OKLaboklab(60.11% -0.0768 0.0724)
OKLCHoklch(60.11% 0.106 136.7)
XYZxyz(16.2342, 22.7910, 10.7500)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F4E #7B4E8F
analogous
#828F4E #628F4E #4E8F5A
triadic
#628F4E #4E628F #8F4E62
tetradic
#628F4E #4E828F #7B4E8F #8F5A4E
square
#628F4E #4E828F #7B4E8F #8F5A4E
split-complementary
#628F4E #5A4E8F #8F4E82
monochromatic
#2C4023 #476738 #628F4E #80AF6C #A2C493

Accessibility & contrast

On white

3.78
#628F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#628F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F4E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F4E#FFFFFF#000000##000000
##628F4E1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#8C8252
Tritanopia (blue-blind)
#618B7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f4e;
/* rgb */ color: rgb(98, 143, 78);
/* oklch */ color: oklch(60.1% 0.106 136.7);
Tailwind
colors: {
  custom: {
    50: '#91b081',
    500: '#628f4e',
    950: '#000000',
  },
}
SCSS
$custom: #628f4e;
$custom-light: #91b081;
$custom-dark: #000000;
JSON
{
  "hex": "#628f4e",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 101.538,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.10557,
    "h": 136.7
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#628F4E
secondary
#A488B1
accent
#62C6A7
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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