#628646#628646

#628646 is a mid, moderate yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.100 H 132.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#628646
RGBrgb(98, 134, 70)
HSLhsl(94, 31%, 40%)
HSVhsv(94, 48%, 53%)
CMYKcmyk(26.9%, 0%, 47.8%, 47.5%)
CIE-LABlab(51.94, -24.64, 30.34)
CIE-LCHlch(51.94, 39.09, 129.08°)
OKLaboklab(57.71% -0.068 0.0734)
OKLCHoklch(57.71% 0.1 132.8)
XYZxyz(14.6673, 20.0887, 8.8979)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628646 #6A4686
analogous
#828646 #628646 #46864A
triadic
#628646 #466286 #864662
tetradic
#628646 #468286 #6A4686 #864A46
square
#628646 #468286 #6A4686 #864A46
split-complementary
#628646 #4A4686 #864682
monochromatic
#27361C #455E31 #628646 #80AB5E #A0C086

Accessibility & contrast

On white

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

On black

5.02
#628646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628646
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628646#FFFFFF#000000##000000
##6286461.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E41
Deuteranopia (green-blind)
#857B4A
Tritanopia (blue-blind)
#638177
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628646;
/* rgb */ color: rgb(98, 134, 70);
/* oklch */ color: oklch(57.7% 0.100 132.8);
Tailwind
colors: {
  custom: {
    50: '#90a97b',
    500: '#628646',
    950: '#000000',
  },
}
SCSS
$custom: #628646;
$custom-light: #90a97b;
$custom-dark: #000000;
JSON
{
  "hex": "#628646",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 70
  },
  "hsl": {
    "h": 93.75,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.10003,
    "h": 132.8
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#628646
secondary
#977CAB
accent
#60C89A
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628646

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

Preview Lab → · Contrast checker → · Palette generator →

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