#628C4E#628C4E

#628C4E is a mid, moderate green. Relative luminance 0.219; OKLCH L 59.4% C 0.101 H 136.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#628C4E
RGBrgb(98, 140, 78)
HSLhsl(101, 28%, 43%)
HSVhsv(101, 44%, 55%)
CMYKcmyk(30%, 0%, 44.3%, 45.1%)
CIE-LABlab(53.92, -26.53, 28.55)
CIE-LCHlch(53.92, 38.97, 132.90°)
OKLaboklab(59.36% -0.0727 0.0698)
OKLCHoklch(59.36% 0.101 136.2)
XYZxyz(15.7898, 21.9023, 10.6019)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C4E #784E8C
analogous
#818C4E #628C4E #4E8C59
triadic
#628C4E #4E628C #8C4E62
tetradic
#628C4E #4E818C #784E8C #8C594E
square
#628C4E #4E818C #784E8C #8C594E
split-complementary
#628C4E #594E8C #8C4E81
monochromatic
#2B3D22 #466538 #628C4E #80AC6B #A2C292

Accessibility & contrast

On white

3.90
#628C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#628C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C4E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C4E#FFFFFF#000000##000000
##628C4E1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8A8052
Tritanopia (blue-blind)
#61887D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628c4e;
/* rgb */ color: rgb(98, 140, 78);
/* oklch */ color: oklch(59.4% 0.101 136.2);
Tailwind
colors: {
  custom: {
    50: '#90ae80',
    500: '#628c4e',
    950: '#000000',
  },
}
SCSS
$custom: #628c4e;
$custom-light: #90ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#628c4e",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 100.645,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.10078,
    "h": 136.2
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#628C4E
secondary
#A287AF
accent
#63C5A5
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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