#628140#628140

#628140 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.099 H 130.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#628140
RGBrgb(98, 129, 64)
HSLhsl(89, 34%, 38%)
HSVhsv(89, 50%, 51%)
CMYKcmyk(24%, 0%, 50.4%, 49.4%)
CIE-LABlab(50.30, -22.88, 31.51)
CIE-LCHlch(50.30, 38.94, 125.99°)
OKLaboklab(56.36% -0.0635 0.0756)
OKLCHoklch(56.36% 0.099 130)
XYZxyz(13.8125, 18.6671, 7.7249)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628140 #5F4081
analogous
#817F40 #628140 #418140
triadic
#628140 #406281 #814062
tetradic
#628140 #40817F #5F4081 #814041
square
#628140 #40817F #5F4081 #814041
split-complementary
#628140 #404181 #7F4081
monochromatic
#242F17 #43582C #628140 #81AA54 #9FBE7D

Accessibility & contrast

On white

4.44
#628140 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#628140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628140
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628140#FFFFFF#000000##000000
##6281401.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#647C72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628140;
/* rgb */ color: rgb(98, 129, 64);
/* oklch */ color: oklch(56.4% 0.099 130.0);
Tailwind
colors: {
  custom: {
    50: '#90a576',
    500: '#628140',
    950: '#000000',
  },
}
SCSS
$custom: #628140;
$custom-light: #90a576;
$custom-dark: #000000;
JSON
{
  "hex": "#628140",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 88.615,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.09872,
    "h": 130
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#628140
secondary
#8D74A9
accent
#5ECA91
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628140

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

Preview Lab → · Contrast checker → · Palette generator →

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