#628F22#628F22

#628F22 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.144 H 129.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628F22
RGBrgb(98, 143, 34)
HSLhsl(85, 62%, 35%)
HSVhsv(85, 76%, 56%)
CMYKcmyk(31.5%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.40, -32.37, 49.62)
CIE-LCHlch(54.40, 59.25, 123.12°)
OKLaboklab(59.6% -0.0922 0.1106)
OKLCHoklch(59.6% 0.144 129.8)
XYZxyz(15.1481, 22.3566, 5.0302)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F22 #4F228F
analogous
#8F8622 #628F22 #2B8F22
triadic
#628F22 #22628F #8F2262
tetradic
#628F22 #228F86 #4F228F #8F222B
square
#628F22 #228F86 #4F228F #8F222B
split-complementary
#628F22 #222B8F #86228F
monochromatic
#1E2C0A #405E16 #628F22 #84C02E #A1D755

Accessibility & contrast

On white

3.84
#628F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F22
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F22#FFFFFF#000000##000000
##628F221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840A
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#65897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f22;
/* rgb */ color: rgb(98, 143, 34);
/* oklch */ color: oklch(59.6% 0.144 129.8);
Tailwind
colors: {
  custom: {
    50: '#93b066',
    500: '#628f22',
    950: '#000000',
  },
}
SCSS
$custom: #628f22;
$custom-light: #93b066;
$custom-dark: #000000;
JSON
{
  "hex": "#628f22",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 84.771,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.596,
    "c": 0.14398,
    "h": 129.8
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#628F22
secondary
#7D52BA
accent
#43E586
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F22

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

Preview Lab → · Contrast checker → · Palette generator →

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