#628420#628420

#628420 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.131 H 126.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#628420
RGBrgb(98, 132, 32)
HSLhsl(80, 61%, 32%)
HSVhsv(80, 76%, 52%)
CMYKcmyk(25.8%, 0%, 75.8%, 48.2%)
CIE-LABlab(50.92, -27.27, 46.97)
CIE-LCHlch(50.92, 54.31, 120.14°)
OKLaboklab(56.77% -0.0785 0.1047)
OKLCHoklch(56.77% 0.131 126.9)
XYZxyz(13.5490, 19.2032, 4.3590)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628420 #422084
analogous
#847420 #628420 #308420
triadic
#628420 #206284 #842062
tetradic
#628420 #208474 #422084 #842030
square
#628420 #208474 #422084 #842030
split-complementary
#628420 #203084 #742084
monochromatic
#192108 #3D5314 #628420 #87B52C #A5D34B

Accessibility & contrast

On white

4.34
#628420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628420
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628420#FFFFFF#000000##000000
##6284201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0C
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628420;
/* rgb */ color: rgb(98, 132, 32);
/* oklch */ color: oklch(56.8% 0.131 126.9);
Tailwind
colors: {
  custom: {
    50: '#92a863',
    500: '#628420',
    950: '#000000',
  },
}
SCSS
$custom: #628420;
$custom-light: #92a863;
$custom-dark: #000000;
JSON
{
  "hex": "#628420",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 80.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.13085,
    "h": 126.9
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#628420
secondary
#6F4AB6
accent
#44E47A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628420

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

Preview Lab → · Contrast checker → · Palette generator →

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