#628642#628642

#628642 is a mid, moderate yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.104 H 131.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#628642
RGBrgb(98, 134, 66)
HSLhsl(92, 34%, 39%)
HSVhsv(92, 51%, 53%)
CMYKcmyk(26.9%, 0%, 50.7%, 47.5%)
CIE-LABlab(51.88, -25.15, 32.39)
CIE-LCHlch(51.88, 41.01, 127.83°)
OKLaboklab(57.65% -0.0696 0.0777)
OKLCHoklch(57.65% 0.104 131.9)
XYZxyz(14.5452, 20.0398, 8.2549)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628642 #664286
analogous
#848642 #628642 #428644
triadic
#628642 #426286 #864262
tetradic
#628642 #428486 #664286 #864442
square
#628642 #428486 #664286 #864442
split-complementary
#628642 #444286 #864284
monochromatic
#26341A #445D2E #628642 #80AD58 #9FC181

Accessibility & contrast

On white

4.19
#628642 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#628642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628642
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628642#FFFFFF#000000##000000
##6286421.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D3C
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#638176
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628642;
/* rgb */ color: rgb(98, 134, 66);
/* oklch */ color: oklch(57.7% 0.104 131.9);
Tailwind
colors: {
  custom: {
    50: '#90a978',
    500: '#628642',
    950: '#000000',
  },
}
SCSS
$custom: #628642;
$custom-light: #90a978;
$custom-dark: #000000;
JSON
{
  "hex": "#628642",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 91.765,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.10434,
    "h": 131.9
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#628642
secondary
#9378AC
accent
#5ECA97
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628642

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

Preview Lab → · Contrast checker → · Palette generator →

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