#628E47#628E47

#628E47 is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.111 H 134.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#628E47
RGBrgb(98, 142, 71)
HSLhsl(97, 33%, 42%)
HSVhsv(97, 50%, 56%)
CMYKcmyk(31%, 0%, 50%, 44.3%)
CIE-LABlab(54.45, -28.45, 32.91)
CIE-LCHlch(54.45, 43.51, 130.84°)
OKLaboklab(59.75% -0.0784 0.0792)
OKLCHoklch(59.75% 0.111 134.7)
XYZxyz(15.8470, 22.3970, 9.4481)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E47 #73478E
analogous
#868E47 #628E47 #478E50
triadic
#628E47 #47628E #8E4762
tetradic
#628E47 #47868E #73478E #8E5047
square
#628E47 #47868E #73478E #8E5047
split-complementary
#628E47 #50478E #8E4786
monochromatic
#2A3C1E #466533 #628E47 #80B062 #A1C58B

Accessibility & contrast

On white

3.83
#628E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#628E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E47
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E47#FFFFFF#000000##000000
##628E471.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938541
Deuteranopia (green-blind)
#8C814B
Tritanopia (blue-blind)
#62897D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e47;
/* rgb */ color: rgb(98, 142, 71);
/* oklch */ color: oklch(59.8% 0.111 134.7);
Tailwind
colors: {
  custom: {
    50: '#91af7c',
    500: '#628e47',
    950: '#000000',
  },
}
SCSS
$custom: #628e47;
$custom-light: #91af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#628e47",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 97.183,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.11146,
    "h": 134.7
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#628E47
secondary
#9E80B0
accent
#5EC9A1
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628E47

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

Preview Lab → · Contrast checker → · Palette generator →

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