#628F3D#628F3D

#628F3D is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.123 H 132.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#628F3D
RGBrgb(98, 143, 61)
HSLhsl(93, 40%, 40%)
HSVhsv(93, 57%, 56%)
CMYKcmyk(31.5%, 0%, 57.3%, 43.9%)
CIE-LABlab(54.63, -30.11, 38.21)
CIE-LCHlch(54.63, 48.65, 128.24°)
OKLaboklab(59.86% -0.0837 0.09)
OKLCHoklch(59.86% 0.123 132.9)
XYZxyz(15.7015, 22.5780, 7.9447)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F3D #6A3D8F
analogous
#8B8F3D #628F3D #3D8F41
triadic
#628F3D #3D628F #8F3D62
tetradic
#628F3D #3D8B8F #6A3D8F #8F413D
square
#628F3D #3D8B8F #6A3D8F #8F413D
split-complementary
#628F3D #413D8F #8F3D8B
monochromatic
#273918 #45642B #628F3D #80B653 #A0C87E

Accessibility & contrast

On white

3.81
#628F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#628F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F3D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F3D#FFFFFF#000000##000000
##628F3D1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948535
Deuteranopia (green-blind)
#8E8143
Tritanopia (blue-blind)
#638A7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f3d;
/* rgb */ color: rgb(98, 143, 61);
/* oklch */ color: oklch(59.9% 0.123 132.9);
Tailwind
colors: {
  custom: {
    50: '#91b075',
    500: '#628f3d',
    950: '#000000',
  },
}
SCSS
$custom: #628f3d;
$custom-light: #91b075;
$custom-dark: #000000;
JSON
{
  "hex": "#628f3d",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 92.927,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.12293,
    "h": 132.9
  },
  "luminance": 0.22579
}

Semantic roles & 50–950 ramp

primary
#628F3D
secondary
#9776B2
accent
#58D09A
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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