#628222#628222

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

Color values

HEX#628222
RGBrgb(98, 130, 34)
HSLhsl(80, 59%, 32%)
HSVhsv(80, 74%, 51%)
CMYKcmyk(24.6%, 0%, 73.8%, 49%)
CIE-LABlab(50.31, -26.17, 45.60)
CIE-LCHlch(50.31, 52.58, 119.85°)
OKLaboklab(56.27% -0.0753 0.1022)
OKLCHoklch(56.27% 0.127 126.4)
XYZxyz(13.3084, 18.6772, 4.4170)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628222 #422282
analogous
#827222 #628222 #328222
triadic
#628222 #226282 #822262
tetradic
#628222 #228272 #422282 #822232
square
#628222 #228272 #422282 #822232
split-complementary
#628222 #223282 #722282
monochromatic
#192109 #3D5115 #628222 #87B32F #A5D14E

Accessibility & contrast

On white

4.43
#628222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628222
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628222#FFFFFF#000000##000000
##6282221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628222;
/* rgb */ color: rgb(98, 130, 34);
/* oklch */ color: oklch(56.3% 0.127 126.4);
Tailwind
colors: {
  custom: {
    50: '#92a664',
    500: '#628222',
    950: '#000000',
  },
}
SCSS
$custom: #628222;
$custom-light: #92a664;
$custom-dark: #000000;
JSON
{
  "hex": "#628222",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 80,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.12691,
    "h": 126.4
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#628222
secondary
#6F4CB4
accent
#46E27A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628222

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

Preview Lab → · Contrast checker → · Palette generator →

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