#628D47#628D47

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

Color values

HEX#628D47
RGBrgb(98, 141, 71)
HSLhsl(97, 33%, 42%)
HSVhsv(97, 50%, 55%)
CMYKcmyk(30.5%, 0%, 49.6%, 44.7%)
CIE-LABlab(54.13, -27.97, 32.53)
CIE-LCHlch(54.13, 42.90, 130.69°)
OKLaboklab(59.5% -0.0771 0.0783)
OKLCHoklch(59.5% 0.11 134.5)
XYZxyz(15.6989, 22.1008, 9.3988)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D47 #72478D
analogous
#858D47 #628D47 #478D4F
triadic
#628D47 #47628D #8D4762
tetradic
#628D47 #47858D #72478D #8D4F47
square
#628D47 #47858D #72478D #8D4F47
split-complementary
#628D47 #4F478D #8D4785
monochromatic
#293C1E #466433 #628D47 #80B062 #A1C48A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D47#FFFFFF#000000##000000
##628D471.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)
#928441
Deuteranopia (green-blind)
#8B804B
Tritanopia (blue-blind)
#62887D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d47;
/* rgb */ color: rgb(98, 141, 71);
/* oklch */ color: oklch(59.5% 0.110 134.5);
Tailwind
colors: {
  custom: {
    50: '#91ae7c',
    500: '#628d47',
    950: '#000000',
  },
}
SCSS
$custom: #628d47;
$custom-light: #91ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#628d47",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 96.857,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.10991,
    "h": 134.5
  },
  "luminance": 0.22101
}

Semantic roles & 50–950 ramp

primary
#628D47
secondary
#9D80B0
accent
#5FC9A0
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628D47

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

Preview Lab → · Contrast checker → · Palette generator →

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