#628C3D#628C3D

#628C3D is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.118 H 132.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#628C3D
RGBrgb(98, 140, 61)
HSLhsl(92, 39%, 39%)
HSVhsv(92, 56%, 55%)
CMYKcmyk(30%, 0%, 56.4%, 45.1%)
CIE-LABlab(53.70, -28.68, 37.11)
CIE-LCHlch(53.70, 46.90, 127.69°)
OKLaboklab(59.1% -0.0798 0.0876)
OKLCHoklch(59.1% 0.119 132.3)
XYZxyz(15.2572, 21.6893, 7.7966)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C3D #673D8C
analogous
#8A8C3D #628C3D #3D8C40
triadic
#628C3D #3D628C #8C3D62
tetradic
#628C3D #3D8A8C #673D8C #8C403D
square
#628C3D #3D8A8C #673D8C #8C403D
split-complementary
#628C3D #403D8C #8C3D8A
monochromatic
#263718 #44612A #628C3D #80B452 #9FC67D

Accessibility & contrast

On white

3.93
#628C3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#628C3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C3D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C3D#FFFFFF#000000##000000
##628C3D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918235
Deuteranopia (green-blind)
#8B7F42
Tritanopia (blue-blind)
#63877A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c3d;
/* rgb */ color: rgb(98, 140, 61);
/* oklch */ color: oklch(59.1% 0.118 132.3);
Tailwind
colors: {
  custom: {
    50: '#91ae75',
    500: '#628c3d',
    950: '#000000',
  },
}
SCSS
$custom: #628c3d;
$custom-light: #91ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#628c3d",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 61
  },
  "hsl": {
    "h": 91.899,
    "s": 39.303,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.1185,
    "h": 132.3
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#628C3D
secondary
#9475B0
accent
#59CF98
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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