#628A4A#628A4A

#628A4A is a mid, moderate yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.102 H 134.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628A4A
RGBrgb(98, 138, 74)
HSLhsl(98, 30%, 42%)
HSVhsv(98, 46%, 54%)
CMYKcmyk(29%, 0%, 46.4%, 45.9%)
CIE-LABlab(53.24, -26.10, 29.83)
CIE-LCHlch(53.24, 39.64, 131.18°)
OKLaboklab(58.79% -0.0718 0.0725)
OKLCHoklch(58.79% 0.102 134.7)
XYZxyz(15.3612, 21.2675, 9.7729)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A4A #724A8A
analogous
#828A4A #628A4A #4A8A52
triadic
#628A4A #4A628A #8A4A62
tetradic
#628A4A #4A828A #724A8A #8A524A
square
#628A4A #4A828A #724A8A #8A524A
split-complementary
#628A4A #524A8A #8A4A82
monochromatic
#293A1F #466235 #628A4A #80AC65 #A1C28D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A4A#FFFFFF#000000##000000
##628A4A1.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)
#8E8145
Deuteranopia (green-blind)
#887E4E
Tritanopia (blue-blind)
#62867B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a4a;
/* rgb */ color: rgb(98, 138, 74);
/* oklch */ color: oklch(58.8% 0.102 134.7);
Tailwind
colors: {
  custom: {
    50: '#90ac7e',
    500: '#628a4a',
    950: '#000000',
  },
}
SCSS
$custom: #628a4a;
$custom-light: #90ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#628a4a",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 97.5,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.10199,
    "h": 134.7
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#628A4A
secondary
#9D82AE
accent
#61C6A1
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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