#628B41#628B41

#628B41 is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.113 H 132.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#628B41
RGBrgb(98, 139, 65)
HSLhsl(93, 36%, 40%)
HSVhsv(93, 53%, 55%)
CMYKcmyk(29.5%, 0%, 53.2%, 45.5%)
CIE-LABlab(53.43, -27.73, 34.78)
CIE-LCHlch(53.43, 44.49, 128.57°)
OKLaboklab(58.9% -0.0769 0.0829)
OKLCHoklch(58.9% 0.113 132.8)
XYZxyz(15.2235, 21.4431, 8.3368)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B41 #6A418B
analogous
#878B41 #628B41 #418B45
triadic
#628B41 #41628B #8B4162
tetradic
#628B41 #41878B #6A418B #8B4541
square
#628B41 #41878B #6A418B #8B4541
split-complementary
#628B41 #45418B #8B4187
monochromatic
#27381A #45612D #628B41 #80B158 #A0C582

Accessibility & contrast

On white

3.97
#628B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#628B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B41
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B41#FFFFFF#000000##000000
##628B411.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823A
Deuteranopia (green-blind)
#8A7E46
Tritanopia (blue-blind)
#63867A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628b41;
/* rgb */ color: rgb(98, 139, 65);
/* oklch */ color: oklch(58.9% 0.113 132.8);
Tailwind
colors: {
  custom: {
    50: '#91ad77',
    500: '#628b41',
    950: '#000000',
  },
}
SCSS
$custom: #628b41;
$custom-light: #91ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#628b41",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 93.243,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.11305,
    "h": 132.8
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#628B41
secondary
#9779AF
accent
#5CCC9A
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628B41

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

Preview Lab → · Contrast checker → · Palette generator →

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