#628221#628221

#628221 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.128 H 126.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#628221
RGBrgb(98, 130, 33)
HSLhsl(80, 60%, 32%)
HSVhsv(80, 75%, 51%)
CMYKcmyk(24.6%, 0%, 74.6%, 49%)
CIE-LABlab(50.30, -26.23, 45.98)
CIE-LCHlch(50.30, 52.94, 119.71°)
OKLaboklab(56.27% -0.0756 0.1028)
OKLCHoklch(56.27% 0.128 126.3)
XYZxyz(13.2942, 18.6715, 4.3421)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628221 #412182
analogous
#827221 #628221 #328221
triadic
#628221 #216282 #822162
tetradic
#628221 #218272 #412182 #822132
square
#628221 #218272 #412182 #822132
split-complementary
#628221 #213282 #722182
monochromatic
#182008 #3D5115 #628221 #87B32D #A5D24C

Accessibility & contrast

On white

4.44
#628221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#628221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628221
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628221#FFFFFF#000000##000000
##6282211.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790F
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628221;
/* rgb */ color: rgb(98, 130, 33);
/* oklch */ color: oklch(56.3% 0.128 126.3);
Tailwind
colors: {
  custom: {
    50: '#92a663',
    500: '#628221',
    950: '#000000',
  },
}
SCSS
$custom: #628221;
$custom-light: #92a663;
$custom-dark: #000000;
JSON
{
  "hex": "#628221",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 79.794,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.12758,
    "h": 126.3
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#628221
secondary
#6D4AB4
accent
#45E379
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628221

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

Preview Lab → · Contrast checker → · Palette generator →

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