#628C20#628C20

#628C20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.141 H 129.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#628C20
RGBrgb(98, 140, 32)
HSLhsl(83, 63%, 34%)
HSVhsv(83, 77%, 55%)
CMYKcmyk(30%, 0%, 77.1%, 45.1%)
CIE-LABlab(53.45, -31.09, 49.40)
CIE-LCHlch(53.45, 58.38, 122.19°)
OKLaboklab(58.82% -0.0889 0.1098)
OKLCHoklch(58.82% 0.141 129)
XYZxyz(14.6758, 21.4567, 4.7346)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C20 #4A208C
analogous
#8C8020 #628C20 #2C8C20
triadic
#628C20 #20628C #8C2062
tetradic
#628C20 #208C80 #4A208C #8C202C
square
#628C20 #208C80 #4A208C #8C202C
split-complementary
#628C20 #202C8C #80208C
monochromatic
#1C2809 #3F5A15 #628C20 #85BE2B #A2D750

Accessibility & contrast

On white

3.97
#628C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#628C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C20#FFFFFF#000000##000000
##628C201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c20;
/* rgb */ color: rgb(98, 140, 32);
/* oklch */ color: oklch(58.8% 0.141 129.0);
Tailwind
colors: {
  custom: {
    50: '#92ae64',
    500: '#628c20',
    950: '#000000',
  },
}
SCSS
$custom: #628c20;
$custom-light: #92ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#628c20",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 83.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.14127,
    "h": 129
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

primary
#628C20
secondary
#784EBA
accent
#42E682
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C20

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

Preview Lab → · Contrast checker → · Palette generator →

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