#628A46#628A46

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

Color values

HEX#628A46
RGBrgb(98, 138, 70)
HSLhsl(95, 33%, 41%)
HSVhsv(95, 49%, 54%)
CMYKcmyk(29%, 0%, 49.3%, 45.9%)
CIE-LABlab(53.18, -26.63, 31.89)
CIE-LCHlch(53.18, 41.54, 129.87°)
OKLaboklab(58.72% -0.0735 0.0768)
OKLCHoklch(58.72% 0.106 133.7)
XYZxyz(15.2307, 21.2153, 9.0857)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A46 #6E468A
analogous
#848A46 #628A46 #468A4C
triadic
#628A46 #46628A #8A4662
tetradic
#628A46 #46848A #6E468A #8A4C46
square
#628A46 #46848A #6E468A #8A4C46
split-complementary
#628A46 #4C468A #8A4684
monochromatic
#28391D #456131 #628A46 #80AE5F #A0C388

Accessibility & contrast

On white

4.01
#628A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#628A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A46
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A46#FFFFFF#000000##000000
##628A461.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628a46;
/* rgb */ color: rgb(98, 138, 70);
/* oklch */ color: oklch(58.7% 0.106 133.7);
Tailwind
colors: {
  custom: {
    50: '#90ac7b',
    500: '#628a46',
    950: '#000000',
  },
}
SCSS
$custom: #628a46;
$custom-light: #90ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#628a46",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 95.294,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58723,
    "c": 0.10631,
    "h": 133.7
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#628A46
secondary
#9A7EAE
accent
#5FC99D
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628A46

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

Preview Lab → · Contrast checker → · Palette generator →

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