#628C49#628C49

#628C49 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.106 H 134.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#628C49
RGBrgb(98, 140, 73)
HSLhsl(98, 31%, 42%)
HSVhsv(98, 48%, 55%)
CMYKcmyk(30%, 0%, 47.9%, 45.1%)
CIE-LABlab(53.85, -27.22, 31.13)
CIE-LCHlch(53.85, 41.35, 131.17°)
OKLaboklab(59.28% -0.0749 0.0753)
OKLCHoklch(59.28% 0.106 134.8)
XYZxyz(15.6173, 21.8333, 9.6935)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C49 #73498C
analogous
#848C49 #628C49 #498C52
triadic
#628C49 #49628C #8C4962
tetradic
#628C49 #49848C #73498C #8C5249
square
#628C49 #49848C #73498C #8C5249
split-complementary
#628C49 #52498C #8C4984
monochromatic
#2A3C1F #466434 #628C49 #80AE64 #A1C38C

Accessibility & contrast

On white

3.91
#628C49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#628C49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C49
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C49#FFFFFF#000000##000000
##628C491.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908344
Deuteranopia (green-blind)
#8A7F4D
Tritanopia (blue-blind)
#62887C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628c49;
/* rgb */ color: rgb(98, 140, 73);
/* oklch */ color: oklch(59.3% 0.106 134.8);
Tailwind
colors: {
  custom: {
    50: '#90ae7d',
    500: '#628c49',
    950: '#000000',
  },
}
SCSS
$custom: #628c49;
$custom-light: #90ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#628c49",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 73
  },
  "hsl": {
    "h": 97.612,
    "s": 31.455,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.10623,
    "h": 134.8
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#628C49
secondary
#9E82AF
accent
#60C8A1
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D100A
muted
#7E7F7C

Preview Lab

Preview with #628C49

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

Preview Lab → · Contrast checker → · Palette generator →

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