#628751#628751

#628751 is a mid, moderate green. Relative luminance 0.205; OKLCH L 58.2% C 0.089 H 136.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#628751
RGBrgb(98, 135, 81)
HSLhsl(101, 25%, 42%)
HSVhsv(101, 40%, 53%)
CMYKcmyk(27.4%, 0%, 40%, 47.1%)
CIE-LABlab(52.42, -23.59, 24.97)
CIE-LCHlch(52.42, 34.36, 133.37°)
OKLaboklab(58.16% -0.0645 0.0617)
OKLCHoklch(58.16% 0.089 136.3)
XYZxyz(15.1858, 20.5182, 10.9433)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628751 #765187
analogous
#7D8751 #628751 #51875B
triadic
#628751 #516287 #875162
tetradic
#628751 #517D87 #765187 #875B51
square
#628751 #517D87 #765187 #875B51
split-complementary
#628751 #5B5187 #87517D
monochromatic
#2A3B23 #46613A #628751 #80A86E #A1BF94

Accessibility & contrast

On white

4.11
#628751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#628751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628751
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628751#FFFFFF#000000##000000
##6287511.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4D
Deuteranopia (green-blind)
#857C54
Tritanopia (blue-blind)
#61837A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628751;
/* rgb */ color: rgb(98, 135, 81);
/* oklch */ color: oklch(58.2% 0.089 136.3);
Tailwind
colors: {
  custom: {
    50: '#90aa82',
    500: '#628751',
    950: '#000000',
  },
}
SCSS
$custom: #628751;
$custom-light: #90aa82;
$custom-dark: #000000;
JSON
{
  "hex": "#628751",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 101.111,
    "s": 25,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.08925,
    "h": 136.3
  },
  "luminance": 0.20519
}

Semantic roles & 50–950 ramp

primary
#628751
secondary
#A088AC
accent
#66C1A5
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #628751

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

Preview Lab → · Contrast checker → · Palette generator →

#628751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva