#628F20#628F20

#628F20 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.145 H 129.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628F20
RGBrgb(98, 143, 32)
HSLhsl(84, 63%, 34%)
HSVhsv(84, 78%, 56%)
CMYKcmyk(31.5%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.39, -32.49, 50.31)
CIE-LCHlch(54.39, 59.89, 122.86°)
OKLaboklab(59.59% -0.0927 0.1117)
OKLCHoklch(59.59% 0.145 129.7)
XYZxyz(15.1201, 22.3454, 4.8827)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F20 #4D208F
analogous
#8F8520 #628F20 #2B8F20
triadic
#628F20 #20628F #8F2062
tetradic
#628F20 #208F85 #4D208F #8F202B
square
#628F20 #208F85 #4D208F #8F202B
split-complementary
#628F20 #202B8F #85208F
monochromatic
#1D2B0A #405D15 #628F20 #84C12B #A1D851

Accessibility & contrast

On white

3.84
#628F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F20
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F20#FFFFFF#000000##000000
##628F201.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#65897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f20;
/* rgb */ color: rgb(98, 143, 32);
/* oklch */ color: oklch(59.6% 0.145 129.7);
Tailwind
colors: {
  custom: {
    50: '#93b065',
    500: '#628f20',
    950: '#000000',
  },
}
SCSS
$custom: #628f20;
$custom-light: #93b065;
$custom-dark: #000000;
JSON
{
  "hex": "#628f20",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 84.324,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.14514,
    "h": 129.7
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#628F20
secondary
#7B4FBB
accent
#41E684
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F20

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

Preview Lab → · Contrast checker → · Palette generator →

#628F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva