#628B2D#628B2D

#628B2D is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.131 H 129.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628B2D
RGBrgb(98, 139, 45)
HSLhsl(86, 51%, 36%)
HSVhsv(86, 68%, 55%)
CMYKcmyk(29.5%, 0%, 67.6%, 45.5%)
CIE-LABlab(53.22, -29.72, 44.07)
CIE-LCHlch(53.22, 53.16, 124.00°)
OKLaboklab(58.67% -0.084 0.1006)
OKLCHoklch(58.67% 0.131 129.9)
XYZxyz(14.7432, 21.2510, 5.8072)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B2D #562D8B
analogous
#8B852D #628B2D #338B2D
triadic
#628B2D #2D628B #8B2D62
tetradic
#628B2D #2D8B85 #562D8B #8B2D33
square
#628B2D #2D8B85 #562D8B #8B2D33
split-complementary
#628B2D #2D338B #852D8B
monochromatic
#212F0F #415D1E #628B2D #83B93C #A0CD65

Accessibility & contrast

On white

4.00
#628B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#628B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B2D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B2D#FFFFFF#000000##000000
##628B2D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#658578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b2d;
/* rgb */ color: rgb(98, 139, 45);
/* oklch */ color: oklch(58.7% 0.131 129.9);
Tailwind
colors: {
  custom: {
    50: '#92ad6b',
    500: '#628b2d',
    950: '#000000',
  },
}
SCSS
$custom: #628b2d;
$custom-light: #92ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628b2d",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 86.17,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.13109,
    "h": 129.9
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#628B2D
secondary
#8560B4
accent
#4DDB8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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