#628A47#628A47

#628A47 is a mid, moderate yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.105 H 134.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628A47
RGBrgb(98, 138, 71)
HSLhsl(96, 32%, 41%)
HSVhsv(96, 49%, 54%)
CMYKcmyk(29%, 0%, 48.6%, 45.9%)
CIE-LABlab(53.20, -26.50, 31.38)
CIE-LCHlch(53.20, 41.07, 130.18°)
OKLaboklab(58.74% -0.073 0.0758)
OKLCHoklch(58.74% 0.105 134)
XYZxyz(15.2625, 21.2281, 9.2533)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A47 #6F478A
analogous
#838A47 #628A47 #478A4D
triadic
#628A47 #47628A #8A4762
tetradic
#628A47 #47838A #6F478A #8A4D47
square
#628A47 #47838A #6F478A #8A4D47
split-complementary
#628A47 #4D478A #8A4783
monochromatic
#29391D #456232 #628A47 #80AE61 #A0C289

Accessibility & contrast

On white

4.00
#628A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#628A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A47
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A47#FFFFFF#000000##000000
##628A471.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8141
Deuteranopia (green-blind)
#897E4B
Tritanopia (blue-blind)
#62857A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a47;
/* rgb */ color: rgb(98, 138, 71);
/* oklch */ color: oklch(58.7% 0.105 134.0);
Tailwind
colors: {
  custom: {
    50: '#90ac7b',
    500: '#628a47',
    950: '#000000',
  },
}
SCSS
$custom: #628a47;
$custom-light: #90ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#628a47",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 95.821,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.10524,
    "h": 134
  },
  "luminance": 0.21229
}

Semantic roles & 50–950 ramp

primary
#628A47
secondary
#9B7FAE
accent
#60C89E
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628A47

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

Preview Lab → · Contrast checker → · Palette generator →

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