#628C47#628C47

#628C47 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.108 H 134.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#628C47
RGBrgb(98, 140, 71)
HSLhsl(97, 33%, 41%)
HSVhsv(97, 49%, 55%)
CMYKcmyk(30%, 0%, 49.3%, 45.1%)
CIE-LABlab(53.82, -27.48, 32.15)
CIE-LCHlch(53.82, 42.29, 130.52°)
OKLaboklab(59.24% -0.0757 0.0775)
OKLCHoklch(59.24% 0.108 134.4)
XYZxyz(15.5521, 21.8072, 9.3498)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C47 #71478C
analogous
#858C47 #628C47 #478C4F
triadic
#628C47 #47628C #8C4762
tetradic
#628C47 #47858C #71478C #8C4F47
square
#628C47 #47858C #71478C #8C4F47
split-complementary
#628C47 #4F478C #8C4785
monochromatic
#293B1E #466332 #628C47 #80AF61 #A0C48A

Accessibility & contrast

On white

3.92
#628C47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#628C47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C47
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C47#FFFFFF#000000##000000
##628C471.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918341
Deuteranopia (green-blind)
#8B7F4B
Tritanopia (blue-blind)
#62877C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628c47;
/* rgb */ color: rgb(98, 140, 71);
/* oklch */ color: oklch(59.2% 0.108 134.4);
Tailwind
colors: {
  custom: {
    50: '#91ae7c',
    500: '#628c47',
    950: '#000000',
  },
}
SCSS
$custom: #628c47;
$custom-light: #91ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#628c47",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 71
  },
  "hsl": {
    "h": 96.522,
    "s": 32.701,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.10836,
    "h": 134.4
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#628C47
secondary
#9D80AF
accent
#5FC99F
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628C47

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

Preview Lab → · Contrast checker → · Palette generator →

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