#628E22#628E22

#628E22 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.143 H 129.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628E22
RGBrgb(98, 142, 34)
HSLhsl(84, 61%, 35%)
HSVhsv(84, 76%, 56%)
CMYKcmyk(31%, 0%, 76.1%, 44.3%)
CIE-LABlab(54.09, -31.91, 49.32)
CIE-LCHlch(54.09, 58.74, 122.91°)
OKLaboklab(59.34% -0.0909 0.11)
OKLCHoklch(59.34% 0.143 129.6)
XYZxyz(14.9987, 22.0577, 4.9804)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E22 #4E228E
analogous
#8E8422 #628E22 #2C8E22
triadic
#628E22 #22628E #8E2262
tetradic
#628E22 #228E84 #4E228E #8E222C
square
#628E22 #228E84 #4E228E #8E222C
split-complementary
#628E22 #222C8E #84228E
monochromatic
#1E2B0A #405D16 #628E22 #84BF2E #A1D654

Accessibility & contrast

On white

3.88
#628E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#628E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E22
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E22#FFFFFF#000000##000000
##628E221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#658879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e22;
/* rgb */ color: rgb(98, 142, 34);
/* oklch */ color: oklch(59.3% 0.143 129.6);
Tailwind
colors: {
  custom: {
    50: '#93af65',
    500: '#628e22',
    950: '#000000',
  },
}
SCSS
$custom: #628e22;
$custom-light: #93af65;
$custom-dark: #000000;
JSON
{
  "hex": "#628e22",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 84.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.14269,
    "h": 129.6
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#628E22
secondary
#7C52BA
accent
#43E485
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E22

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

Preview Lab → · Contrast checker → · Palette generator →

#628E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva