#628A45#628A45

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

Color values

HEX#628A45
RGBrgb(98, 138, 69)
HSLhsl(95, 33%, 41%)
HSVhsv(95, 50%, 54%)
CMYKcmyk(29%, 0%, 50%, 45.9%)
CIE-LABlab(53.17, -26.76, 32.39)
CIE-LCHlch(53.17, 42.02, 129.55°)
OKLaboklab(58.71% -0.0739 0.0779)
OKLCHoklch(58.71% 0.107 133.5)
XYZxyz(15.1994, 21.2028, 8.9208)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A45 #6D458A
analogous
#848A45 #628A45 #458A4B
triadic
#628A45 #45628A #8A4562
tetradic
#628A45 #45848A #6D458A #8A4B45
square
#628A45 #45848A #6D458A #8A4B45
split-complementary
#628A45 #4B458A #8A4584
monochromatic
#28381C #456131 #628A45 #80AE5E #A0C387

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A45#FFFFFF#000000##000000
##628A451.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)
#8F813F
Deuteranopia (green-blind)
#897E49
Tritanopia (blue-blind)
#62857A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a45;
/* rgb */ color: rgb(98, 138, 69);
/* oklch */ color: oklch(58.7% 0.107 133.5);
Tailwind
colors: {
  custom: {
    50: '#91ac7a',
    500: '#628a45',
    950: '#000000',
  },
}
SCSS
$custom: #628a45;
$custom-light: #91ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#628a45",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 94.783,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.10737,
    "h": 133.5
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#628A45
secondary
#997DAE
accent
#5EC99C
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628A45

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

Preview Lab → · Contrast checker → · Palette generator →

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