#628256#628256

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

Color values

HEX#628256
RGBrgb(98, 130, 86)
HSLhsl(104, 20%, 42%)
HSVhsv(104, 34%, 51%)
CMYKcmyk(24.6%, 0%, 33.8%, 49%)
CIE-LABlab(50.96, -20.24, 20.25)
CIE-LCHlch(50.96, 28.63, 134.97°)
OKLaboklab(57.01% -0.0551 0.0507)
OKLCHoklch(57.01% 0.075 137.4)
XYZxyz(14.6989, 19.2334, 11.7403)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628256 #765682
analogous
#788256 #628256 #568260
triadic
#628256 #566282 #825662
tetradic
#628256 #567882 #765682 #826056
square
#628256 #567882 #765682 #826056
split-complementary
#628256 #605682 #825678
monochromatic
#2A3825 #465D3E #628256 #80A273 #A1BB98

Accessibility & contrast

On white

4.33
#628256 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#628256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628256
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628256#FFFFFF#000000##000000
##6282561.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B53
Deuteranopia (green-blind)
#807858
Tritanopia (blue-blind)
#617F77
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628256;
/* rgb */ color: rgb(98, 130, 86);
/* oklch */ color: oklch(57.0% 0.075 137.4);
Tailwind
colors: {
  custom: {
    50: '#8fa686',
    500: '#628256',
    950: '#000000',
  },
}
SCSS
$custom: #628256;
$custom-light: #8fa686;
$custom-dark: #000000;
JSON
{
  "hex": "#628256",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 103.636,
    "s": 20.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.07491,
    "h": 137.4
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628256

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

Preview Lab → · Contrast checker → · Palette generator →

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