#628D33#628D33

#628D33 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.2% C 0.129 H 131.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#628D33
RGBrgb(98, 141, 51)
HSLhsl(89, 47%, 38%)
HSVhsv(89, 64%, 55%)
CMYKcmyk(30.5%, 0%, 63.8%, 44.7%)
CIE-LABlab(53.90, -30.16, 42.13)
CIE-LCHlch(53.90, 51.81, 125.60°)
OKLaboklab(59.24% -0.0847 0.0973)
OKLCHoklch(59.24% 0.129 131)
XYZxyz(15.1593, 21.8850, 6.5568)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D33 #5E338D
analogous
#8D8B33 #628D33 #358D33
triadic
#628D33 #33628D #8D3362
tetradic
#628D33 #338D8B #5E338D #8D3335
square
#628D33 #338D8B #5E338D #8D3335
split-complementary
#628D33 #33358D #8B338D
monochromatic
#243312 #436023 #628D33 #81BA43 #9FCB6F

Accessibility & contrast

On white

3.91
#628D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#628D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D33
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D33#FFFFFF#000000##000000
##628D331.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d33;
/* rgb */ color: rgb(98, 141, 51);
/* oklch */ color: oklch(59.2% 0.129 131.0);
Tailwind
colors: {
  custom: {
    50: '#92ae6f',
    500: '#628d33',
    950: '#000000',
  },
}
SCSS
$custom: #628d33;
$custom-light: #92ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628d33",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 88.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.12901,
    "h": 131
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#628D33
secondary
#8C69B3
accent
#51D791
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D33

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

Preview Lab → · Contrast checker → · Palette generator →

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