#628D3E#628D3E

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

Color values

HEX#628D3E
RGBrgb(98, 141, 62)
HSLhsl(93, 39%, 40%)
HSVhsv(93, 56%, 55%)
CMYKcmyk(30.5%, 0%, 56%, 44.7%)
CIE-LABlab(54.02, -29.05, 37.00)
CIE-LCHlch(54.02, 47.04, 128.14°)
OKLaboklab(59.37% -0.0807 0.0875)
OKLCHoklch(59.37% 0.119 132.7)
XYZxyz(15.4311, 21.9937, 7.9887)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D3E #693E8D
analogous
#8A8D3E #628D3E #3E8D42
triadic
#628D3E #3E628D #8D3E62
tetradic
#628D3E #3E8A8D #693E8D #8D423E
square
#628D3E #3E8A8D #693E8D #8D423E
split-complementary
#628D3E #423E8D #8D3E8A
monochromatic
#273819 #44622B #628D3E #80B454 #A0C77F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D3E#FFFFFF#000000##000000
##628D3E1.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)
#928336
Deuteranopia (green-blind)
#8C8043
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d3e;
/* rgb */ color: rgb(98, 141, 62);
/* oklch */ color: oklch(59.4% 0.119 132.7);
Tailwind
colors: {
  custom: {
    50: '#91ae76',
    500: '#628d3e',
    950: '#000000',
  },
}
SCSS
$custom: #628d3e;
$custom-light: #91ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#628d3e",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 92.658,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.11902,
    "h": 132.7
  },
  "luminance": 0.21994
}

Semantic roles & 50–950 ramp

primary
#628D3E
secondary
#9676B1
accent
#59CF99
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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