#628D2D#628D2D

#628D2D is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.134 H 130.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#628D2D
RGBrgb(98, 141, 45)
HSLhsl(87, 52%, 36%)
HSVhsv(87, 68%, 55%)
CMYKcmyk(30.5%, 0%, 68.1%, 44.7%)
CIE-LABlab(53.85, -30.67, 44.73)
CIE-LCHlch(53.85, 54.24, 124.44°)
OKLaboklab(59.18% -0.0866 0.102)
OKLCHoklch(59.18% 0.134 130.3)
XYZxyz(15.0354, 21.8354, 5.9046)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D2D #582D8D
analogous
#8D882D #628D2D #328D2D
triadic
#628D2D #2D628D #8D2D62
tetradic
#628D2D #2D8D88 #582D8D #8D2D32
square
#628D2D #2D8D88 #582D8D #8D2D32
split-complementary
#628D2D #2D328D #882D8D
monochromatic
#22300F #425F1E #628D2D #82BB3C #A0CE66

Accessibility & contrast

On white

3.91
#628D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#628D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D2D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D2D#FFFFFF#000000##000000
##628D2D1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#8D8035
Tritanopia (blue-blind)
#648779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d2d;
/* rgb */ color: rgb(98, 141, 45);
/* oklch */ color: oklch(59.2% 0.134 130.3);
Tailwind
colors: {
  custom: {
    50: '#92ae6b',
    500: '#628d2d',
    950: '#000000',
  },
}
SCSS
$custom: #628d2d;
$custom-light: #92ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628d2d",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 86.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.13384,
    "h": 130.3
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#628D2D
secondary
#8761B5
accent
#4DDB8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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