#628E43#628E43

#628E43 is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.116 H 133.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628E43
RGBrgb(98, 142, 67)
HSLhsl(95, 36%, 41%)
HSVhsv(95, 53%, 56%)
CMYKcmyk(31%, 0%, 52.8%, 44.3%)
CIE-LABlab(54.39, -28.95, 34.92)
CIE-LCHlch(54.39, 45.36, 129.66°)
OKLaboklab(59.69% -0.0801 0.0833)
OKLCHoklch(59.69% 0.116 133.9)
XYZxyz(15.7228, 22.3474, 8.7942)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E43 #6F438E
analogous
#878E43 #628E43 #438E49
triadic
#628E43 #43628E #8E4362
tetradic
#628E43 #43878E #6F438E #8E4943
square
#628E43 #43878E #6F438E #8E4943
split-complementary
#628E43 #49438E #8E4387
monochromatic
#293B1C #45642F #628E43 #80B25C #A0C686

Accessibility & contrast

On white

3.84
#628E43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628E43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E43
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E43#FFFFFF#000000##000000
##628E431.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843C
Deuteranopia (green-blind)
#8D8148
Tritanopia (blue-blind)
#62897D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e43;
/* rgb */ color: rgb(98, 142, 67);
/* oklch */ color: oklch(59.7% 0.116 133.9);
Tailwind
colors: {
  custom: {
    50: '#91af79',
    500: '#628e43',
    950: '#000000',
  },
}
SCSS
$custom: #628e43;
$custom-light: #91af79;
$custom-dark: #000000;
JSON
{
  "hex": "#628e43",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 67
  },
  "hsl": {
    "h": 95.2,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.11557,
    "h": 133.9
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#628E43
secondary
#9B7CB1
accent
#5CCC9E
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628E43

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

Preview Lab → · Contrast checker → · Palette generator →

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