#628F3A#628F3A

#628F3A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.126 H 132.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#628F3A
RGBrgb(98, 143, 58)
HSLhsl(92, 42%, 39%)
HSVhsv(92, 59%, 56%)
CMYKcmyk(31.5%, 0%, 59.4%, 43.9%)
CIE-LABlab(54.60, -30.43, 39.63)
CIE-LCHlch(54.60, 49.97, 127.52°)
OKLaboklab(59.83% -0.0848 0.0928)
OKLCHoklch(59.83% 0.126 132.4)
XYZxyz(15.6230, 22.5466, 7.5309)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F3A #673A8F
analogous
#8D8F3A #628F3A #3A8F3D
triadic
#628F3A #3A628F #8F3A62
tetradic
#628F3A #3A8D8F #673A8F #8F3D3A
square
#628F3A #3A8D8F #673A8F #8F3D3A
split-complementary
#628F3A #3D3A8F #8F3A8D
monochromatic
#263817 #446328 #628F3A #80B74F #9FC97A

Accessibility & contrast

On white

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

On black

5.51
#628F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F3A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F3A#FFFFFF#000000##000000
##628F3A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628f3a;
/* rgb */ color: rgb(98, 143, 58);
/* oklch */ color: oklch(59.8% 0.126 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b073',
    500: '#628f3a',
    950: '#000000',
  },
}
SCSS
$custom: #628f3a;
$custom-light: #91b073;
$custom-dark: #000000;
JSON
{
  "hex": "#628f3a",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 91.765,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.12572,
    "h": 132.4
  },
  "luminance": 0.22547
}

Semantic roles & 50–950 ramp

primary
#628F3A
secondary
#9472B3
accent
#56D298
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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