#628C3E#628C3E

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

Color values

HEX#628C3E
RGBrgb(98, 140, 62)
HSLhsl(92, 39%, 40%)
HSVhsv(92, 56%, 55%)
CMYKcmyk(30%, 0%, 55.7%, 45.1%)
CIE-LABlab(53.71, -28.57, 36.63)
CIE-LCHlch(53.71, 46.45, 127.95°)
OKLaboklab(59.11% -0.0794 0.0867)
OKLCHoklch(59.11% 0.118 132.5)
XYZxyz(15.2843, 21.7002, 7.9397)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C3E #683E8C
analogous
#898C3E #628C3E #3E8C41
triadic
#628C3E #3E628C #8C3E62
tetradic
#628C3E #3E898C #683E8C #8C413E
square
#628C3E #3E898C #683E8C #8C413E
split-complementary
#628C3E #413E8C #8C3E89
monochromatic
#273718 #44622B #628C3E #80B354 #9FC67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C3E#FFFFFF#000000##000000
##628C3E1.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)
#918237
Deuteranopia (green-blind)
#8B7F43
Tritanopia (blue-blind)
#63877B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c3e;
/* rgb */ color: rgb(98, 140, 62);
/* oklch */ color: oklch(59.1% 0.118 132.5);
Tailwind
colors: {
  custom: {
    50: '#91ae76',
    500: '#628c3e',
    950: '#000000',
  },
}
SCSS
$custom: #628c3e;
$custom-light: #91ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#628c3e",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 62
  },
  "hsl": {
    "h": 92.308,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.11753,
    "h": 132.5
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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