#628255#628255

#628255 is a mid, moderate green. Relative luminance 0.192; OKLCH L 57.0% C 0.076 H 136.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#628255
RGBrgb(98, 130, 85)
HSLhsl(103, 21%, 42%)
HSVhsv(103, 35%, 51%)
CMYKcmyk(24.6%, 0%, 34.6%, 49%)
CIE-LABlab(50.94, -20.40, 20.80)
CIE-LCHlch(50.94, 29.13, 134.45°)
OKLaboklab(56.99% -0.0556 0.052)
OKLCHoklch(56.99% 0.076 136.9)
XYZxyz(14.6589, 19.2174, 11.5296)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628255 #755582
analogous
#788255 #628255 #55825F
triadic
#628255 #556282 #825562
tetradic
#628255 #557882 #755582 #825F55
square
#628255 #557882 #755582 #825F55
split-complementary
#628255 #5F5582 #825578
monochromatic
#2A3825 #465D3D #628255 #80A372 #A1BB97

Accessibility & contrast

On white

4.34
#628255 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628255
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628255#FFFFFF#000000##000000
##6282551.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B52
Deuteranopia (green-blind)
#807857
Tritanopia (blue-blind)
#617F76
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628255;
/* rgb */ color: rgb(98, 130, 85);
/* oklch */ color: oklch(57.0% 0.076 136.9);
Tailwind
colors: {
  custom: {
    50: '#8fa685',
    500: '#628255',
    950: '#000000',
  },
}
SCSS
$custom: #628255;
$custom-light: #8fa685;
$custom-dark: #000000;
JSON
{
  "hex": "#628255",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 102.667,
    "s": 20.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.07612,
    "h": 136.9
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#628255
secondary
#A08BA8
accent
#6ABDA5
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0B
muted
#7D7F7C

Preview Lab

Preview with #628255

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

Preview Lab → · Contrast checker → · Palette generator →

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