#628122#628122

#628122 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.126 H 126.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#628122
RGBrgb(98, 129, 34)
HSLhsl(80, 58%, 32%)
HSVhsv(80, 74%, 51%)
CMYKcmyk(24%, 0%, 73.6%, 49.4%)
CIE-LABlab(49.99, -25.68, 45.29)
CIE-LCHlch(49.99, 52.06, 119.55°)
OKLaboklab(56.02% -0.0739 0.1015)
OKLCHoklch(56.02% 0.126 126.1)
XYZxyz(13.1761, 18.4125, 4.3729)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628122 #412281
analogous
#817122 #628122 #338122
triadic
#628122 #226281 #812262
tetradic
#628122 #228171 #412281 #812233
square
#628122 #228171 #412281 #812233
split-complementary
#628122 #223381 #712281
monochromatic
#182008 #3D5115 #628122 #87B12F #A5D04D

Accessibility & contrast

On white

4.48
#628122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#628122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628122
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628122#FFFFFF#000000##000000
##6281221.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#667B6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628122;
/* rgb */ color: rgb(98, 129, 34);
/* oklch */ color: oklch(56.0% 0.126 126.1);
Tailwind
colors: {
  custom: {
    50: '#92a564',
    500: '#628122',
    950: '#000000',
  },
}
SCSS
$custom: #628122;
$custom-light: #92a564;
$custom-dark: #000000;
JSON
{
  "hex": "#628122",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 79.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56018,
    "c": 0.12558,
    "h": 126.1
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#628122
secondary
#6D4BB3
accent
#46E179
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628122

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

Preview Lab → · Contrast checker → · Palette generator →

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