#628D45#628D45

#628D45 is a mid, moderate yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.112 H 134.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628D45
RGBrgb(98, 141, 69)
HSLhsl(96, 34%, 41%)
HSVhsv(96, 51%, 55%)
CMYKcmyk(30.5%, 0%, 51.1%, 44.7%)
CIE-LABlab(54.11, -28.22, 33.54)
CIE-LCHlch(54.11, 43.83, 130.08°)
OKLaboklab(59.47% -0.0779 0.0804)
OKLCHoklch(59.47% 0.112 134.1)
XYZxyz(15.6357, 22.0756, 9.0663)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D45 #70458D
analogous
#868D45 #628D45 #458D4C
triadic
#628D45 #45628D #8D4562
tetradic
#628D45 #45868D #70458D #8D4C45
square
#628D45 #45868D #70458D #8D4C45
split-complementary
#628D45 #4C458D #8D4586
monochromatic
#293B1D #456431 #628D45 #80B15F #A0C588

Accessibility & contrast

On white

3.88
#628D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D45
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D45#FFFFFF#000000##000000
##628D451.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843F
Deuteranopia (green-blind)
#8C804A
Tritanopia (blue-blind)
#62887C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d45;
/* rgb */ color: rgb(98, 141, 69);
/* oklch */ color: oklch(59.5% 0.112 134.1);
Tailwind
colors: {
  custom: {
    50: '#91ae7a',
    500: '#628d45',
    950: '#000000',
  },
}
SCSS
$custom: #628d45;
$custom-light: #91ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#628d45",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 95.833,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.112,
    "h": 134.1
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#628D45
secondary
#9C7EB0
accent
#5DCA9E
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D45

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

Preview Lab → · Contrast checker → · Palette generator →

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