#628641#628641

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

Color values

HEX#628641
RGBrgb(98, 134, 65)
HSLhsl(91, 35%, 39%)
HSVhsv(91, 51%, 53%)
CMYKcmyk(26.9%, 0%, 51.5%, 47.5%)
CIE-LABlab(51.87, -25.28, 32.90)
CIE-LCHlch(51.87, 41.49, 127.54°)
OKLaboklab(57.64% -0.0701 0.0787)
OKLCHoklch(57.64% 0.105 131.7)
XYZxyz(14.5160, 20.0281, 8.1010)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628641 #654186
analogous
#858641 #628641 #418643
triadic
#628641 #416286 #864162
tetradic
#628641 #418586 #654186 #864341
square
#628641 #418586 #654186 #864341
split-complementary
#628641 #434186 #864185
monochromatic
#263419 #445D2D #628641 #80AD57 #9FC180

Accessibility & contrast

On white

4.20
#628641 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628641#FFFFFF#000000##000000
##6286411.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628641;
/* rgb */ color: rgb(98, 134, 65);
/* oklch */ color: oklch(57.6% 0.105 131.7);
Tailwind
colors: {
  custom: {
    50: '#90a977',
    500: '#628641',
    950: '#000000',
  },
}
SCSS
$custom: #628641;
$custom-light: #90a977;
$custom-dark: #000000;
JSON
{
  "hex": "#628641",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 91.304,
    "s": 34.673,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.1054,
    "h": 131.7
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#628641
secondary
#9377AC
accent
#5DCB96
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628641

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

Preview Lab → · Contrast checker → · Palette generator →

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