#628220#628220

#628220 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.128 H 126.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#628220
RGBrgb(98, 130, 32)
HSLhsl(80, 60%, 32%)
HSVhsv(80, 75%, 51%)
CMYKcmyk(24.6%, 0%, 75.4%, 49%)
CIE-LABlab(50.29, -26.30, 46.35)
CIE-LCHlch(50.29, 53.29, 119.57°)
OKLaboklab(56.26% -0.0758 0.1034)
OKLCHoklch(56.26% 0.128 126.2)
XYZxyz(13.2804, 18.6660, 4.2694)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628220 #402082
analogous
#827120 #628220 #318220
triadic
#628220 #206282 #822062
tetradic
#628220 #208271 #402082 #822031
square
#628220 #208271 #402082 #822031
split-complementary
#628220 #203182 #712082
monochromatic
#182008 #3D5114 #628220 #87B32C #A6D24A

Accessibility & contrast

On white

4.44
#628220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#628220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628220
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628220#FFFFFF#000000##000000
##6282201.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628220;
/* rgb */ color: rgb(98, 130, 32);
/* oklch */ color: oklch(56.3% 0.128 126.2);
Tailwind
colors: {
  custom: {
    50: '#92a663',
    500: '#628220',
    950: '#000000',
  },
}
SCSS
$custom: #628220;
$custom-light: #92a663;
$custom-dark: #000000;
JSON
{
  "hex": "#628220",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 79.592,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56258,
    "c": 0.12822,
    "h": 126.2
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#628220
secondary
#6C49B5
accent
#44E478
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628220

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

Preview Lab → · Contrast checker → · Palette generator →

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