#628D32#628D32

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

Color values

HEX#628D32
RGBrgb(98, 141, 50)
HSLhsl(88, 48%, 37%)
HSVhsv(88, 65%, 55%)
CMYKcmyk(30.5%, 0%, 64.5%, 44.7%)
CIE-LABlab(53.90, -30.25, 42.58)
CIE-LCHlch(53.90, 52.23, 125.39°)
OKLaboklab(59.23% -0.085 0.0981)
OKLCHoklch(59.23% 0.13 130.9)
XYZxyz(15.1375, 21.8762, 6.4420)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D32 #5D328D
analogous
#8D8B32 #628D32 #348D32
triadic
#628D32 #32628D #8D3262
tetradic
#628D32 #328D8B #5D328D #8D3234
square
#628D32 #328D8B #5D328D #8D3234
split-complementary
#628D32 #32348D #8B328D
monochromatic
#233312 #436022 #628D32 #81BA42 #9FCC6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D32#FFFFFF#000000##000000
##628D321.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)
#938327
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d32;
/* rgb */ color: rgb(98, 141, 50);
/* oklch */ color: oklch(59.2% 0.130 130.9);
Tailwind
colors: {
  custom: {
    50: '#92ae6e',
    500: '#628d32',
    950: '#000000',
  },
}
SCSS
$custom: #628d32;
$custom-light: #92ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628d32",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 88.352,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.12985,
    "h": 130.9
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#628D32
secondary
#8B68B3
accent
#51D790
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D32

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

Preview Lab → · Contrast checker → · Palette generator →

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