#628628#628628

#628628 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.128 H 128.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#628628
RGBrgb(98, 134, 40)
HSLhsl(83, 54%, 34%)
HSVhsv(83, 70%, 53%)
CMYKcmyk(26.9%, 0%, 70.1%, 47.5%)
CIE-LABlab(51.61, -27.71, 44.50)
CIE-LCHlch(51.61, 52.42, 121.91°)
OKLaboklab(57.34% -0.079 0.1008)
OKLCHoklch(57.34% 0.128 128.1)
XYZxyz(13.9451, 19.7998, 5.0941)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628628 #4C2886
analogous
#867B28 #628628 #338628
triadic
#628628 #286286 #862862
tetradic
#628628 #28867B #4C2886 #862833
square
#628628 #28867B #4C2886 #862833
split-complementary
#628628 #283386 #7B2886
monochromatic
#1D280C #40571A #628628 #84B536 #A2CE5B

Accessibility & contrast

On white

4.23
#628628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#628628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628628
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628628#FFFFFF#000000##000000
##6286281.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#658073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628628;
/* rgb */ color: rgb(98, 134, 40);
/* oklch */ color: oklch(57.3% 0.128 128.1);
Tailwind
colors: {
  custom: {
    50: '#92a968',
    500: '#628628',
    950: '#000000',
  },
}
SCSS
$custom: #628628;
$custom-light: #92a968;
$custom-dark: #000000;
JSON
{
  "hex": "#628628",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 82.979,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.12805,
    "h": 128.1
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#628628
secondary
#7A57B3
accent
#4ADD83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628628

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

Preview Lab → · Contrast checker → · Palette generator →

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