#628B4C#628B4C

#628B4C is a mid, moderate yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.101 H 135.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#628B4C
RGBrgb(98, 139, 76)
HSLhsl(99, 29%, 42%)
HSVhsv(99, 45%, 55%)
CMYKcmyk(29.5%, 0%, 45.3%, 45.5%)
CIE-LABlab(53.58, -26.32, 29.19)
CIE-LCHlch(53.58, 39.30, 132.04°)
OKLaboklab(59.07% -0.0723 0.0711)
OKLCHoklch(59.07% 0.101 135.5)
XYZxyz(15.5737, 21.5832, 10.1815)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B4C #754C8B
analogous
#818B4C #628B4C #4C8B56
triadic
#628B4C #4C628B #8B4C62
tetradic
#628B4C #4C818B #754C8B #8B564C
square
#628B4C #4C818B #754C8B #8B564C
split-complementary
#628B4C #564C8B #8B4C81
monochromatic
#2A3C21 #466336 #628B4C #80AC68 #A1C28F

Accessibility & contrast

On white

3.95
#628B4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#628B4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B4C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B4C#FFFFFF#000000##000000
##628B4C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#897F50
Tritanopia (blue-blind)
#61877C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628b4c;
/* rgb */ color: rgb(98, 139, 76);
/* oklch */ color: oklch(59.1% 0.101 135.5);
Tailwind
colors: {
  custom: {
    50: '#90ad7f',
    500: '#628b4c',
    950: '#000000',
  },
}
SCSS
$custom: #628b4c;
$custom-light: #90ad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#628b4c",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 99.048,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.10139,
    "h": 135.5
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#628B4C
secondary
#A085AE
accent
#62C6A3
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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