#628E33#628E33

#628E33 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.130 H 131.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#628E33
RGBrgb(98, 142, 51)
HSLhsl(89, 47%, 38%)
HSVhsv(89, 64%, 56%)
CMYKcmyk(31%, 0%, 64.1%, 44.3%)
CIE-LABlab(54.22, -30.63, 42.48)
CIE-LCHlch(54.22, 52.37, 125.80°)
OKLaboklab(59.49% -0.086 0.098)
OKLCHoklch(59.49% 0.13 131.3)
XYZxyz(15.3074, 22.1812, 6.6062)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E33 #5F338E
analogous
#8E8C33 #628E33 #358E33
triadic
#628E33 #33628E #8E3362
tetradic
#628E33 #338E8C #5F338E #8E3335
square
#628E33 #338E8C #5F338E #8E3335
split-complementary
#628E33 #33358E #8C338E
monochromatic
#243413 #436123 #628E33 #81BB43 #9FCC70

Accessibility & contrast

On white

3.86
#628E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#628E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E33
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E33#FFFFFF#000000##000000
##628E331.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948428
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e33;
/* rgb */ color: rgb(98, 142, 51);
/* oklch */ color: oklch(59.5% 0.130 131.3);
Tailwind
colors: {
  custom: {
    50: '#92af6f',
    500: '#628e33',
    950: '#000000',
  },
}
SCSS
$custom: #628e33;
$custom-light: #92af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628e33",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 51
  },
  "hsl": {
    "h": 89.011,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.13041,
    "h": 131.3
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#628E33
secondary
#8D69B4
accent
#51D792
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E33

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

Preview Lab → · Contrast checker → · Palette generator →

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