#628A51#628A51

#628A51 is a mid, moderate green. Relative luminance 0.214; OKLCH L 58.9% C 0.094 H 136.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#628A51
RGBrgb(98, 138, 81)
HSLhsl(102, 26%, 43%)
HSVhsv(102, 41%, 54%)
CMYKcmyk(29%, 0%, 41.3%, 45.9%)
CIE-LABlab(53.35, -25.10, 26.18)
CIE-LCHlch(53.35, 36.27, 133.79°)
OKLaboklab(58.91% -0.0687 0.0644)
OKLCHoklch(58.91% 0.094 136.8)
XYZxyz(15.6103, 21.3672, 11.0848)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A51 #79518A
analogous
#7E8A51 #628A51 #518A5C
triadic
#628A51 #51628A #8A5162
tetradic
#628A51 #517E8A #79518A #8A5C51
square
#628A51 #517E8A #79518A #8A5C51
split-complementary
#628A51 #5C518A #8A517E
monochromatic
#2B3D24 #47633A #628A51 #80AA6E #A2C195

Accessibility & contrast

On white

3.98
#628A51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#628A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A51
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A51#FFFFFF#000000##000000
##628A511.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824D
Deuteranopia (green-blind)
#887E54
Tritanopia (blue-blind)
#61867C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a51;
/* rgb */ color: rgb(98, 138, 81);
/* oklch */ color: oklch(58.9% 0.094 136.8);
Tailwind
colors: {
  custom: {
    50: '#90ac82',
    500: '#628a51',
    950: '#000000',
  },
}
SCSS
$custom: #628a51;
$custom-light: #90ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#628a51",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 102.105,
    "s": 26.027,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.09418,
    "h": 136.8
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#628A51
secondary
#A389AE
accent
#65C2A7
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0D100A
muted
#7D7F7C

Preview Lab

Preview with #628A51

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

Preview Lab → · Contrast checker → · Palette generator →

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