#628D3F#628D3F

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

Color values

HEX#628D3F
RGBrgb(98, 141, 63)
HSLhsl(93, 38%, 40%)
HSVhsv(93, 55%, 55%)
CMYKcmyk(30.5%, 0%, 55.3%, 44.7%)
CIE-LABlab(54.03, -28.93, 36.51)
CIE-LCHlch(54.03, 46.59, 128.40°)
OKLaboklab(59.38% -0.0803 0.0865)
OKLCHoklch(59.38% 0.118 132.9)
XYZxyz(15.4588, 22.0048, 8.1345)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D3F #6A3F8D
analogous
#898D3F #628D3F #3F8D43
triadic
#628D3F #3F628D #8D3F62
tetradic
#628D3F #3F898D #6A3F8D #8D433F
square
#628D3F #3F898D #6A3F8D #8D433F
split-complementary
#628D3F #433F8D #8D3F89
monochromatic
#273819 #45632C #628D3F #80B356 #A0C680

Accessibility & contrast

On white

3.89
#628D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#628D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D3F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D3F#FFFFFF#000000##000000
##628D3F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928338
Deuteranopia (green-blind)
#8C8044
Tritanopia (blue-blind)
#63887C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d3f;
/* rgb */ color: rgb(98, 141, 63);
/* oklch */ color: oklch(59.4% 0.118 132.9);
Tailwind
colors: {
  custom: {
    50: '#91ae76',
    500: '#628d3f',
    950: '#000000',
  },
}
SCSS
$custom: #628d3f;
$custom-light: #91ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#628d3f",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 93.077,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.11805,
    "h": 132.9
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#628D3F
secondary
#9777B1
accent
#5ACE9A
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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