#628D46#628D46

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

Color values

HEX#628D46
RGBrgb(98, 141, 70)
HSLhsl(96, 34%, 41%)
HSVhsv(96, 50%, 55%)
CMYKcmyk(30.5%, 0%, 50.4%, 44.7%)
CIE-LABlab(54.12, -28.09, 33.04)
CIE-LCHlch(54.12, 43.37, 130.38°)
OKLaboklab(59.48% -0.0775 0.0794)
OKLCHoklch(59.48% 0.111 134.3)
XYZxyz(15.6670, 22.0881, 9.2311)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D46 #71468D
analogous
#868D46 #628D46 #468D4E
triadic
#628D46 #46628D #8D4662
tetradic
#628D46 #46868D #71468D #8D4E46
square
#628D46 #46868D #71468D #8D4E46
split-complementary
#628D46 #4E468D #8D4686
monochromatic
#293B1D #466432 #628D46 #80B060 #A0C489

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D46#FFFFFF#000000##000000
##628D461.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)
#928440
Deuteranopia (green-blind)
#8B804A
Tritanopia (blue-blind)
#62887D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d46;
/* rgb */ color: rgb(98, 141, 70);
/* oklch */ color: oklch(59.5% 0.111 134.3);
Tailwind
colors: {
  custom: {
    50: '#91ae7b',
    500: '#628d46',
    950: '#000000',
  },
}
SCSS
$custom: #628d46;
$custom-light: #91ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#628d46",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 96.338,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.11096,
    "h": 134.3
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#628D46
secondary
#9D7FB0
accent
#5ECA9F
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D46

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

Preview Lab → · Contrast checker → · Palette generator →

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