#628A3E#628A3E

#628A3E is a mid, moderate yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.115 H 132.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#628A3E
RGBrgb(98, 138, 62)
HSLhsl(92, 38%, 39%)
HSVhsv(92, 55%, 54%)
CMYKcmyk(29%, 0%, 55.1%, 45.9%)
CIE-LABlab(53.08, -27.60, 35.89)
CIE-LCHlch(53.08, 45.27, 127.56°)
OKLaboklab(58.61% -0.0767 0.0851)
OKLCHoklch(58.61% 0.115 132)
XYZxyz(14.9948, 21.1210, 7.8432)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A3E #663E8A
analogous
#888A3E #628A3E #3E8A40
triadic
#628A3E #3E628A #8A3E62
tetradic
#628A3E #3E888A #663E8A #8A403E
square
#628A3E #3E888A #663E8A #8A403E
split-complementary
#628A3E #403E8A #8A3E88
monochromatic
#263618 #44602B #628A3E #80B253 #9FC57E

Accessibility & contrast

On white

4.02
#628A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#628A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A3E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A3E#FFFFFF#000000##000000
##628A3E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8137
Deuteranopia (green-blind)
#8A7E43
Tritanopia (blue-blind)
#638579
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a3e;
/* rgb */ color: rgb(98, 138, 62);
/* oklch */ color: oklch(58.6% 0.115 132.0);
Tailwind
colors: {
  custom: {
    50: '#91ac75',
    500: '#628a3e',
    950: '#000000',
  },
}
SCSS
$custom: #628a3e;
$custom-light: #91ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#628a3e",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 91.579,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.11454,
    "h": 132
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#628A3E
secondary
#9375AF
accent
#5ACE97
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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