#628B3E#628B3E

#628B3E is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.116 H 132.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#628B3E
RGBrgb(98, 139, 62)
HSLhsl(92, 38%, 39%)
HSVhsv(92, 55%, 55%)
CMYKcmyk(29.5%, 0%, 55.4%, 45.5%)
CIE-LABlab(53.39, -28.08, 36.26)
CIE-LCHlch(53.39, 45.86, 127.76°)
OKLaboklab(58.86% -0.078 0.0859)
OKLCHoklch(58.86% 0.116 132.3)
XYZxyz(15.1389, 21.4092, 7.8913)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B3E #673E8B
analogous
#898B3E #628B3E #3E8B41
triadic
#628B3E #3E628B #8B3E62
tetradic
#628B3E #3E898B #673E8B #8B413E
square
#628B3E #3E898B #673E8B #8B413E
split-complementary
#628B3E #413E8B #8B3E89
monochromatic
#263618 #44612B #628B3E #80B354 #9FC57E

Accessibility & contrast

On white

3.98
#628B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#628B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B3E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B3E#FFFFFF#000000##000000
##628B3E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908237
Deuteranopia (green-blind)
#8A7E43
Tritanopia (blue-blind)
#63867A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628b3e;
/* rgb */ color: rgb(98, 139, 62);
/* oklch */ color: oklch(58.9% 0.116 132.3);
Tailwind
colors: {
  custom: {
    50: '#91ad75',
    500: '#628b3e',
    950: '#000000',
  },
}
SCSS
$custom: #628b3e;
$custom-light: #91ad75;
$custom-dark: #000000;
JSON
{
  "hex": "#628b3e",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 91.948,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.11603,
    "h": 132.3
  },
  "luminance": 0.2141
}

Semantic roles & 50–950 ramp

primary
#628B3E
secondary
#9475B0
accent
#5ACE98
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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