#628D41#628D41

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

Color values

HEX#628D41
RGBrgb(98, 141, 65)
HSLhsl(94, 37%, 40%)
HSVhsv(94, 54%, 55%)
CMYKcmyk(30.5%, 0%, 53.9%, 44.7%)
CIE-LABlab(54.06, -28.70, 35.53)
CIE-LCHlch(54.06, 45.68, 128.93°)
OKLaboklab(59.41% -0.0795 0.0845)
OKLCHoklch(59.41% 0.116 133.3)
XYZxyz(15.5157, 22.0276, 8.4343)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D41 #6C418D
analogous
#888D41 #628D41 #418D46
triadic
#628D41 #41628D #8D4162
tetradic
#628D41 #41888D #6C418D #8D4641
square
#628D41 #41888D #6C418D #8D4641
split-complementary
#628D41 #46418D #8D4188
monochromatic
#28391A #45632E #628D41 #80B259 #A0C683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D41#FFFFFF#000000##000000
##628D411.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)
#92833A
Deuteranopia (green-blind)
#8C8046
Tritanopia (blue-blind)
#63887C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d41;
/* rgb */ color: rgb(98, 141, 65);
/* oklch */ color: oklch(59.4% 0.116 133.3);
Tailwind
colors: {
  custom: {
    50: '#91ae78',
    500: '#628d41',
    950: '#000000',
  },
}
SCSS
$custom: #628d41;
$custom-light: #91ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#628d41",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 93.947,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.11607,
    "h": 133.3
  },
  "luminance": 0.22028
}

Semantic roles & 50–950 ramp

primary
#628D41
secondary
#9979B0
accent
#5BCD9B
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D41

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

Preview Lab → · Contrast checker → · Palette generator →

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