#628362#628362

#628362 is a mid, moderate green. Relative luminance 0.197; OKLCH L 57.5% C 0.062 H 144.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#628362
RGBrgb(98, 131, 98)
HSLhsl(120, 14%, 45%)
HSVhsv(120, 25%, 51%)
CMYKcmyk(25.2%, 0%, 25.2%, 48.6%)
CIE-LABlab(51.51, -18.65, 14.15)
CIE-LCHlch(51.51, 23.41, 142.82°)
OKLaboklab(57.53% -0.051 0.0361)
OKLCHoklch(57.53% 0.062 144.7)
XYZxyz(15.3573, 19.7106, 14.5483)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628362 #836283
analogous
#738362 #628362 #628373
triadic
#628362 #626283 #836262
tetradic
#628362 #627383 #836283 #837362
square
#628362 #627383 #836283 #837362
split-complementary
#628362 #736283 #836273
monochromatic
#2E3D2E #486048 #628362 #81A181 #A4BBA4

Accessibility & contrast

On white

4.25
#628362 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#628362 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628362
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628362#FFFFFF#000000##000000
##6283621.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D60
Deuteranopia (green-blind)
#7F7964
Tritanopia (blue-blind)
#5F817A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628362;
/* rgb */ color: rgb(98, 131, 98);
/* oklch */ color: oklch(57.5% 0.062 144.7);
Tailwind
colors: {
  custom: {
    50: '#8fa78e',
    500: '#628362',
    950: '#000000',
  },
}
SCSS
$custom: #628362;
$custom-light: #8fa78e;
$custom-dark: #000000;
JSON
{
  "hex": "#628362",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 98
  },
  "hsl": {
    "h": 120,
    "s": 14.41,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.06243,
    "h": 144.7
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#628362
secondary
#AA97AA
accent
#71B7B7
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C0F0C
muted
#7D7F7D

Preview Lab

Preview with #628362

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

Preview Lab → · Contrast checker → · Palette generator →

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