#628C2D#628C2D

#628C2D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.132 H 130.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#628C2D
RGBrgb(98, 140, 45)
HSLhsl(87, 51%, 36%)
HSVhsv(87, 68%, 55%)
CMYKcmyk(30%, 0%, 67.9%, 45.1%)
CIE-LABlab(53.54, -30.20, 44.40)
CIE-LCHlch(53.54, 53.70, 124.22°)
OKLaboklab(58.92% -0.0853 0.1013)
OKLCHoklch(58.92% 0.132 130.1)
XYZxyz(14.8886, 21.5419, 5.8557)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C2D #572D8C
analogous
#8C872D #628C2D #338C2D
triadic
#628C2D #2D628C #8C2D62
tetradic
#628C2D #2D8C87 #572D8C #8C2D33
square
#628C2D #2D8C87 #572D8C #8C2D33
split-complementary
#628C2D #2D338C #872D8C
monochromatic
#212F0F #425E1E #628C2D #82BA3C #A0CE66

Accessibility & contrast

On white

3.96
#628C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#628C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C2D#FFFFFF#000000##000000
##628C2D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c2d;
/* rgb */ color: rgb(98, 140, 45);
/* oklch */ color: oklch(58.9% 0.132 130.1);
Tailwind
colors: {
  custom: {
    50: '#92ae6b',
    500: '#628c2d',
    950: '#000000',
  },
}
SCSS
$custom: #628c2d;
$custom-light: #92ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628c2d",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 86.526,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.13246,
    "h": 130.1
  },
  "luminance": 0.21542
}

Semantic roles & 50–950 ramp

primary
#628C2D
secondary
#8660B4
accent
#4DDB8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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