#628C32#628C32

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

Color values

HEX#628C32
RGBrgb(98, 140, 50)
HSLhsl(88, 47%, 37%)
HSVhsv(88, 64%, 55%)
CMYKcmyk(30%, 0%, 64.3%, 45.1%)
CIE-LABlab(53.58, -29.77, 42.23)
CIE-LCHlch(53.58, 51.67, 125.18°)
OKLaboklab(58.97% -0.0837 0.0974)
OKLCHoklch(58.97% 0.128 130.7)
XYZxyz(14.9907, 21.5827, 6.3931)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C32 #5C328C
analogous
#8C8932 #628C32 #358C32
triadic
#628C32 #32628C #8C3262
tetradic
#628C32 #328C89 #5C328C #8C3235
square
#628C32 #328C89 #5C328C #8C3235
split-complementary
#628C32 #32358C #89328C
monochromatic
#233212 #425F22 #628C32 #82B942 #9FCB6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C32#FFFFFF#000000##000000
##628C321.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)
#928227
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c32;
/* rgb */ color: rgb(98, 140, 50);
/* oklch */ color: oklch(59.0% 0.128 130.7);
Tailwind
colors: {
  custom: {
    50: '#92ae6e',
    500: '#628c32',
    950: '#000000',
  },
}
SCSS
$custom: #628c32;
$custom-light: #92ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628c32",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 88,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.12844,
    "h": 130.7
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#628C32
secondary
#8A67B3
accent
#51D78F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C32

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

Preview Lab → · Contrast checker → · Palette generator →

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