#628D4E#628D4E

#628D4E is a mid, moderate green. Relative luminance 0.222; OKLCH L 59.6% C 0.102 H 136.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#628D4E
RGBrgb(98, 141, 78)
HSLhsl(101, 29%, 43%)
HSVhsv(101, 45%, 55%)
CMYKcmyk(30.5%, 0%, 44.7%, 44.7%)
CIE-LABlab(54.23, -27.02, 28.94)
CIE-LCHlch(54.23, 39.60, 133.04°)
OKLaboklab(59.61% -0.0741 0.0707)
OKLCHoklch(59.61% 0.102 136.4)
XYZxyz(15.9366, 22.1959, 10.6508)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D4E #794E8D
analogous
#818D4E #628D4E #4E8D59
triadic
#628D4E #4E628D #8D4E62
tetradic
#628D4E #4E818D #794E8D #8D594E
square
#628D4E #4E818D #794E8D #8D594E
split-complementary
#628D4E #594E8D #8D4E81
monochromatic
#2B3E22 #476638 #628D4E #80AD6B #A2C392

Accessibility & contrast

On white

3.86
#628D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#628D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D4E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D4E#FFFFFF#000000##000000
##628D4E1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8B8052
Tritanopia (blue-blind)
#61897E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628d4e;
/* rgb */ color: rgb(98, 141, 78);
/* oklch */ color: oklch(59.6% 0.102 136.4);
Tailwind
colors: {
  custom: {
    50: '#90ae80',
    500: '#628d4e',
    950: '#000000',
  },
}
SCSS
$custom: #628d4e;
$custom-light: #90ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#628d4e",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 100.952,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59611,
    "c": 0.10238,
    "h": 136.4
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#628D4E
secondary
#A387AF
accent
#63C5A6
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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