#628822#628822

#628822 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.135 H 128.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#628822
RGBrgb(98, 136, 34)
HSLhsl(82, 60%, 33%)
HSVhsv(82, 75%, 53%)
CMYKcmyk(27.9%, 0%, 75%, 46.7%)
CIE-LABlab(52.20, -29.08, 47.47)
CIE-LCHlch(52.20, 55.67, 121.49°)
OKLaboklab(57.81% -0.0832 0.1061)
OKLCHoklch(57.81% 0.135 128.1)
XYZxyz(14.1299, 20.3202, 4.6908)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628822 #482288
analogous
#887B22 #628822 #2F8822
triadic
#628822 #226288 #882262
tetradic
#628822 #22887B #482288 #88222F
square
#628822 #22887B #482288 #88222F
split-complementary
#628822 #222F88 #7B2288
monochromatic
#1B260A #3F5716 #628822 #85B92E #A3D351

Accessibility & contrast

On white

4.15
#628822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#628822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628822
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628822#FFFFFF#000000##000000
##6288221.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#668274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628822;
/* rgb */ color: rgb(98, 136, 34);
/* oklch */ color: oklch(57.8% 0.135 128.1);
Tailwind
colors: {
  custom: {
    50: '#92ab65',
    500: '#628822',
    950: '#000000',
  },
}
SCSS
$custom: #628822;
$custom-light: #92ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#628822",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 82.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.13484,
    "h": 128.1
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#628822
secondary
#764FB7
accent
#45E380
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628822

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

Preview Lab → · Contrast checker → · Palette generator →

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