#628D48#628D48

#628D48 is a mid, moderate yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.109 H 134.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628D48
RGBrgb(98, 141, 72)
HSLhsl(97, 32%, 42%)
HSVhsv(97, 49%, 55%)
CMYKcmyk(30.5%, 0%, 48.9%, 44.7%)
CIE-LABlab(54.15, -27.84, 32.02)
CIE-LCHlch(54.15, 42.43, 131.00°)
OKLaboklab(59.51% -0.0767 0.0773)
OKLCHoklch(59.51% 0.109 134.8)
XYZxyz(15.7312, 22.1138, 9.5692)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D48 #73488D
analogous
#858D48 #628D48 #488D51
triadic
#628D48 #48628D #8D4862
tetradic
#628D48 #48858D #73488D #8D5148
square
#628D48 #48858D #73488D #8D5148
split-complementary
#628D48 #51488D #8D4885
monochromatic
#2A3C1F #466433 #628D48 #80AF63 #A1C48B

Accessibility & contrast

On white

3.87
#628D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D48
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D48#FFFFFF#000000##000000
##628D481.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928442
Deuteranopia (green-blind)
#8B804C
Tritanopia (blue-blind)
#62887D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d48;
/* rgb */ color: rgb(98, 141, 72);
/* oklch */ color: oklch(59.5% 0.109 134.8);
Tailwind
colors: {
  custom: {
    50: '#91ae7c',
    500: '#628d48',
    950: '#000000',
  },
}
SCSS
$custom: #628d48;
$custom-light: #91ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#628d48",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 97.391,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.10885,
    "h": 134.8
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#628D48
secondary
#9E81B0
accent
#5FC9A1
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D48

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

Preview Lab → · Contrast checker → · Palette generator →

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