#628D3A#628D3A

#628D3A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.123 H 132.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#628D3A
RGBrgb(98, 141, 58)
HSLhsl(91, 42%, 39%)
HSVhsv(91, 59%, 55%)
CMYKcmyk(30.5%, 0%, 58.9%, 44.7%)
CIE-LABlab(53.98, -29.48, 38.91)
CIE-LCHlch(53.98, 48.82, 127.14°)
OKLaboklab(59.32% -0.0822 0.0912)
OKLCHoklch(59.32% 0.123 132)
XYZxyz(15.3254, 21.9514, 7.4318)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D3A #653A8D
analogous
#8C8D3A #628D3A #3A8D3B
triadic
#628D3A #3A628D #8D3A62
tetradic
#628D3A #3A8C8D #653A8D #8D3B3A
square
#628D3A #3A8C8D #653A8D #8D3B3A
split-complementary
#628D3A #3B3A8D #8D3A8C
monochromatic
#263616 #446228 #628D3A #80B64E #9FC879

Accessibility & contrast

On white

3.90
#628D3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#628D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D3A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D3A#FFFFFF#000000##000000
##628D3A1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938331
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d3a;
/* rgb */ color: rgb(98, 141, 58);
/* oklch */ color: oklch(59.3% 0.123 132.0);
Tailwind
colors: {
  custom: {
    50: '#91ae73',
    500: '#628d3a',
    950: '#000000',
  },
}
SCSS
$custom: #628d3a;
$custom-light: #91ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#628d3a",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 91.084,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.12281,
    "h": 132
  },
  "luminance": 0.21952
}

Semantic roles & 50–950 ramp

primary
#628D3A
secondary
#9371B1
accent
#56D296
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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