#628E2D#628E2D

#628E2D is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.135 H 130.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#628E2D
RGBrgb(98, 142, 45)
HSLhsl(87, 52%, 37%)
HSVhsv(87, 68%, 56%)
CMYKcmyk(31%, 0%, 68.3%, 44.3%)
CIE-LABlab(54.17, -31.14, 45.06)
CIE-LCHlch(54.17, 54.78, 124.65°)
OKLaboklab(59.43% -0.0879 0.1027)
OKLCHoklch(59.43% 0.135 130.6)
XYZxyz(15.1835, 22.1317, 5.9540)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E2D #592D8E
analogous
#8E8A2D #628E2D #328E2D
triadic
#628E2D #2D628E #8E2D62
tetradic
#628E2D #2D8E8A #592D8E #8E2D32
square
#628E2D #2D8E8A #592D8E #8E2D32
split-complementary
#628E2D #2D328E #8A2D8E
monochromatic
#223110 #42601E #628E2D #82BC3C #A0CF67

Accessibility & contrast

On white

3.87
#628E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#628E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E2D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E2D#FFFFFF#000000##000000
##628E2D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948420
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e2d;
/* rgb */ color: rgb(98, 142, 45);
/* oklch */ color: oklch(59.4% 0.135 130.6);
Tailwind
colors: {
  custom: {
    50: '#92af6b',
    500: '#628e2d',
    950: '#000000',
  },
}
SCSS
$custom: #628e2d;
$custom-light: #92af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628e2d",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 87.216,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.1352,
    "h": 130.6
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

primary
#628E2D
secondary
#8861B5
accent
#4CDB8D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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