#628322#628322

#628322 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.128 H 126.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#628322
RGBrgb(98, 131, 34)
HSLhsl(80, 59%, 32%)
HSVhsv(80, 74%, 51%)
CMYKcmyk(25.2%, 0%, 74%, 48.6%)
CIE-LABlab(50.62, -26.66, 45.92)
CIE-LCHlch(50.62, 53.09, 120.14°)
OKLaboklab(56.53% -0.0766 0.1028)
OKLCHoklch(56.53% 0.128 126.7)
XYZxyz(13.4421, 18.9445, 4.4615)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628322 #432283
analogous
#837322 #628322 #328322
triadic
#628322 #226283 #832262
tetradic
#628322 #228373 #432283 #832232
square
#628322 #228373 #432283 #832232
split-complementary
#628322 #223283 #732283
monochromatic
#192209 #3E5215 #628322 #86B42F #A5D14E

Accessibility & contrast

On white

4.39
#628322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#628322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628322
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628322#FFFFFF#000000##000000
##6283221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628322;
/* rgb */ color: rgb(98, 131, 34);
/* oklch */ color: oklch(56.5% 0.128 126.7);
Tailwind
colors: {
  custom: {
    50: '#92a764',
    500: '#628322',
    950: '#000000',
  },
}
SCSS
$custom: #628322;
$custom-light: #92a764;
$custom-dark: #000000;
JSON
{
  "hex": "#628322",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 80.412,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.12823,
    "h": 126.7
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#628322
secondary
#704CB4
accent
#46E27B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628322

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

Preview Lab → · Contrast checker → · Palette generator →

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