#628C33#628C33

#628C33 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.0% C 0.128 H 130.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#628C33
RGBrgb(98, 140, 51)
HSLhsl(88, 47%, 37%)
HSVhsv(88, 64%, 55%)
CMYKcmyk(30%, 0%, 63.6%, 45.1%)
CIE-LABlab(53.59, -29.68, 41.79)
CIE-LCHlch(53.59, 51.26, 125.39°)
OKLaboklab(58.98% -0.0834 0.0966)
OKLCHoklch(58.98% 0.128 130.8)
XYZxyz(15.0125, 21.5914, 6.5079)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C33 #5D338C
analogous
#8C8A33 #628C33 #358C33
triadic
#628C33 #33628C #8C3362
tetradic
#628C33 #338C8A #5D338C #8C3335
square
#628C33 #338C8A #5D338C #8C3335
split-complementary
#628C33 #33358C #8A338C
monochromatic
#233212 #435F23 #628C33 #81B943 #9FCB6F

Accessibility & contrast

On white

3.95
#628C33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#628C33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C33
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C33#FFFFFF#000000##000000
##628C331.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928229
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c33;
/* rgb */ color: rgb(98, 140, 51);
/* oklch */ color: oklch(59.0% 0.128 130.8);
Tailwind
colors: {
  custom: {
    50: '#92ae6f',
    500: '#628c33',
    950: '#000000',
  },
}
SCSS
$custom: #628c33;
$custom-light: #92ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628c33",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 51
  },
  "hsl": {
    "h": 88.315,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.12761,
    "h": 130.8
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#628C33
secondary
#8B68B2
accent
#52D690
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C33

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

Preview Lab → · Contrast checker → · Palette generator →

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