#628648#628648

#628648 is a mid, moderate yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.098 H 133.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#628648
RGBrgb(98, 134, 72)
HSLhsl(95, 30%, 40%)
HSVhsv(95, 46%, 53%)
CMYKcmyk(26.9%, 0%, 46.3%, 47.5%)
CIE-LABlab(51.97, -24.38, 29.31)
CIE-LCHlch(51.97, 38.12, 129.75°)
OKLaboklab(57.75% -0.0671 0.0712)
OKLCHoklch(57.75% 0.098 133.3)
XYZxyz(14.7315, 20.1143, 9.2359)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628648 #6C4886
analogous
#818648 #628648 #48864D
triadic
#628648 #486286 #864862
tetradic
#628648 #488186 #6C4886 #864D48
square
#628648 #488186 #6C4886 #864D48
split-complementary
#628648 #4D4886 #864881
monochromatic
#28361D #455E33 #628648 #80AA61 #A0C089

Accessibility & contrast

On white

4.18
#628648 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#628648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628648
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628648#FFFFFF#000000##000000
##6286481.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E43
Deuteranopia (green-blind)
#857B4C
Tritanopia (blue-blind)
#638277
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628648;
/* rgb */ color: rgb(98, 134, 72);
/* oklch */ color: oklch(57.7% 0.098 133.3);
Tailwind
colors: {
  custom: {
    50: '#90a97c',
    500: '#628648',
    950: '#000000',
  },
}
SCSS
$custom: #628648;
$custom-light: #90a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#628648",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 72
  },
  "hsl": {
    "h": 94.839,
    "s": 30.097,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.09782,
    "h": 133.3
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#628648
secondary
#997FAB
accent
#61C69C
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0D1009
muted
#7D7F7B

Preview Lab

Preview with #628648

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

Preview Lab → · Contrast checker → · Palette generator →

#628648 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva