#628141#628141

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

Color values

HEX#628141
RGBrgb(98, 129, 65)
HSLhsl(89, 33%, 38%)
HSVhsv(89, 50%, 51%)
CMYKcmyk(24%, 0%, 49.6%, 49.4%)
CIE-LABlab(50.31, -22.76, 30.99)
CIE-LCHlch(50.31, 38.45, 126.29°)
OKLaboklab(56.38% -0.0631 0.0745)
OKLCHoklch(56.38% 0.098 130.2)
XYZxyz(13.8412, 18.6785, 7.8761)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628141 #604181
analogous
#818041 #628141 #428141
triadic
#628141 #416281 #814162
tetradic
#628141 #418180 #604181 #814142
square
#628141 #418180 #604181 #814142
split-complementary
#628141 #414281 #804181
monochromatic
#243018 #43582C #628141 #81AA56 #9FBE7E

Accessibility & contrast

On white

4.43
#628141 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628141 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628141
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628141#FFFFFF#000000##000000
##6281411.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628141;
/* rgb */ color: rgb(98, 129, 65);
/* oklch */ color: oklch(56.4% 0.098 130.2);
Tailwind
colors: {
  custom: {
    50: '#90a577',
    500: '#628141',
    950: '#000000',
  },
}
SCSS
$custom: #628141;
$custom-light: #90a577;
$custom-dark: #000000;
JSON
{
  "hex": "#628141",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 89.063,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.09763,
    "h": 130.2
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#628141
secondary
#8E75A9
accent
#5FC992
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D0F09
muted
#7D7F7B

Preview Lab

Preview with #628141

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

Preview Lab → · Contrast checker → · Palette generator →

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