#628D42#628D42

#628D42 is a mid, moderate yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.115 H 133.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628D42
RGBrgb(98, 141, 66)
HSLhsl(94, 36%, 41%)
HSVhsv(94, 53%, 55%)
CMYKcmyk(30.5%, 0%, 53.2%, 44.7%)
CIE-LABlab(54.07, -28.59, 35.04)
CIE-LCHlch(54.07, 45.22, 129.21°)
OKLaboklab(59.42% -0.0791 0.0835)
OKLCHoklch(59.42% 0.115 133.5)
XYZxyz(15.5450, 22.0393, 8.5882)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D42 #6D428D
analogous
#878D42 #628D42 #428D47
triadic
#628D42 #42628D #8D4262
tetradic
#628D42 #42878D #6D428D #8D4742
square
#628D42 #42878D #6D428D #8D4742
split-complementary
#628D42 #47428D #8D4287
monochromatic
#283A1B #45632E #628D42 #80B25A #A0C584

Accessibility & contrast

On white

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

On black

5.41
#628D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D42
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D42#FFFFFF#000000##000000
##628D421.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833B
Deuteranopia (green-blind)
#8C8047
Tritanopia (blue-blind)
#62887C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d42;
/* rgb */ color: rgb(98, 141, 66);
/* oklch */ color: oklch(59.4% 0.115 133.5);
Tailwind
colors: {
  custom: {
    50: '#91ae78',
    500: '#628d42',
    950: '#000000',
  },
}
SCSS
$custom: #628d42;
$custom-light: #91ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#628d42",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 94.4,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.11506,
    "h": 133.5
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#628D42
secondary
#997BB0
accent
#5CCC9C
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D42

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

Preview Lab → · Contrast checker → · Palette generator →

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