#628A20#628A20

#628A20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.139 H 128.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#628A20
RGBrgb(98, 138, 32)
HSLhsl(83, 62%, 33%)
HSVhsv(83, 77%, 54%)
CMYKcmyk(29%, 0%, 76.8%, 45.9%)
CIE-LABlab(52.82, -30.15, 48.80)
CIE-LCHlch(52.82, 57.36, 121.71°)
OKLaboklab(58.3% -0.0863 0.1085)
OKLCHoklch(58.3% 0.139 128.5)
XYZxyz(14.3862, 20.8776, 4.6380)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A20 #48208A
analogous
#8A7D20 #628A20 #2D8A20
triadic
#628A20 #20628A #8A2062
tetradic
#628A20 #208A7D #48208A #8A202D
square
#628A20 #208A7D #48208A #8A202D
split-complementary
#628A20 #202D8A #7D208A
monochromatic
#1B2709 #3F5814 #628A20 #85BC2C #A3D64E

Accessibility & contrast

On white

4.06
#628A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#628A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A20
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A20#FFFFFF#000000##000000
##628A201.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a20;
/* rgb */ color: rgb(98, 138, 32);
/* oklch */ color: oklch(58.3% 0.139 128.5);
Tailwind
colors: {
  custom: {
    50: '#92ac64',
    500: '#628a20',
    950: '#000000',
  },
}
SCSS
$custom: #628a20;
$custom-light: #92ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#628a20",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 82.642,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.13868,
    "h": 128.5
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#628A20
secondary
#764DB9
accent
#42E580
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A20

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

Preview Lab → · Contrast checker → · Palette generator →

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