#628F41#628F41

#628F41 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.119 H 133.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#628F41
RGBrgb(98, 143, 65)
HSLhsl(95, 38%, 41%)
HSVhsv(95, 55%, 56%)
CMYKcmyk(31.5%, 0%, 54.5%, 43.9%)
CIE-LABlab(54.68, -29.66, 36.28)
CIE-LCHlch(54.68, 46.86, 129.27°)
OKLaboklab(59.92% -0.0822 0.0862)
OKLCHoklch(59.92% 0.119 133.6)
XYZxyz(15.8133, 22.6227, 8.5334)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F41 #6E418F
analogous
#898F41 #628F41 #418F47
triadic
#628F41 #41628F #8F4162
tetradic
#628F41 #41898F #6E418F #8F4741
square
#628F41 #41898F #6E418F #8F4741
split-complementary
#628F41 #47418F #8F4189
monochromatic
#283B1B #45652E #628F41 #80B459 #A0C784

Accessibility & contrast

On white

3.80
#628F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#628F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F41
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F41#FFFFFF#000000##000000
##628F411.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#8E8246
Tritanopia (blue-blind)
#628A7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f41;
/* rgb */ color: rgb(98, 143, 65);
/* oklch */ color: oklch(59.9% 0.119 133.6);
Tailwind
colors: {
  custom: {
    50: '#91b078',
    500: '#628f41',
    950: '#000000',
  },
}
SCSS
$custom: #628f41;
$custom-light: #91b078;
$custom-dark: #000000;
JSON
{
  "hex": "#628f41",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 94.615,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.11907,
    "h": 133.6
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#628F41
secondary
#9A7AB1
accent
#5ACD9D
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628F41

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

Preview Lab → · Contrast checker → · Palette generator →

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