#628922#628922

#628922 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.1% C 0.136 H 128.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#628922
RGBrgb(98, 137, 34)
HSLhsl(83, 60%, 34%)
HSVhsv(83, 75%, 54%)
CMYKcmyk(28.5%, 0%, 75.2%, 46.3%)
CIE-LABlab(52.51, -29.56, 47.78)
CIE-LCHlch(52.51, 56.18, 121.74°)
OKLaboklab(58.06% -0.0845 0.1067)
OKLCHoklch(58.06% 0.136 128.4)
XYZxyz(14.2714, 20.6031, 4.7380)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628922 #492289
analogous
#897C22 #628922 #2F8922
triadic
#628922 #226289 #892262
tetradic
#628922 #22897C #492289 #89222F
square
#628922 #22897C #492289 #89222F
split-complementary
#628922 #222F89 #7C2289
monochromatic
#1C270A #3F5816 #628922 #85BA2E #A3D451

Accessibility & contrast

On white

4.10
#628922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#628922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628922
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628922#FFFFFF#000000##000000
##6289221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0E
Deuteranopia (green-blind)
#8B7C2C
Tritanopia (blue-blind)
#658375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628922;
/* rgb */ color: rgb(98, 137, 34);
/* oklch */ color: oklch(58.1% 0.136 128.4);
Tailwind
colors: {
  custom: {
    50: '#92ab65',
    500: '#628922',
    950: '#000000',
  },
}
SCSS
$custom: #628922;
$custom-light: #92ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#628922",
  "rgb": {
    "r": 98,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 82.718,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.13616,
    "h": 128.4
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#628922
secondary
#774FB8
accent
#44E381
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628922

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

Preview Lab → · Contrast checker → · Palette generator →

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