#628147#628147

#628147 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.091 H 131.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#628147
RGBrgb(98, 129, 71)
HSLhsl(92, 29%, 39%)
HSVhsv(92, 45%, 51%)
CMYKcmyk(24%, 0%, 45%, 49.4%)
CIE-LABlab(50.40, -21.98, 27.87)
CIE-LCHlch(50.40, 35.49, 128.26°)
OKLaboklab(56.47% -0.0605 0.0679)
OKLCHoklch(56.47% 0.091 131.7)
XYZxyz(14.0244, 18.7518, 8.8406)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628147 #664781
analogous
#7F8147 #628147 #478149
triadic
#628147 #476281 #814762
tetradic
#628147 #477F81 #664781 #814947
square
#628147 #477F81 #664781 #814947
split-complementary
#628147 #494781 #81477F
monochromatic
#26321C #445A31 #628147 #80A75F #9FBC86

Accessibility & contrast

On white

4.42
#628147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#628147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628147
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628147#FFFFFF#000000##000000
##6281471.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867942
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#637D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628147;
/* rgb */ color: rgb(98, 129, 71);
/* oklch */ color: oklch(56.5% 0.091 131.7);
Tailwind
colors: {
  custom: {
    50: '#90a57b',
    500: '#628147',
    950: '#000000',
  },
}
SCSS
$custom: #628147;
$custom-light: #90a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#628147",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 92.069,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.09092,
    "h": 131.7
  },
  "luminance": 0.18752
}

Semantic roles & 50–950 ramp

primary
#628147
secondary
#937CA8
accent
#63C597
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0D0F09
muted
#7D7F7B

Preview Lab

Preview with #628147

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

Preview Lab → · Contrast checker → · Palette generator →

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