#628B46#628B46

#628B46 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.108 H 133.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#628B46
RGBrgb(98, 139, 70)
HSLhsl(96, 33%, 41%)
HSVhsv(96, 50%, 55%)
CMYKcmyk(29.5%, 0%, 49.6%, 45.5%)
CIE-LABlab(53.50, -27.12, 32.27)
CIE-LCHlch(53.50, 42.15, 130.04°)
OKLaboklab(58.98% -0.0748 0.0777)
OKLCHoklch(58.98% 0.108 133.9)
XYZxyz(15.3748, 21.5036, 9.1337)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B46 #6F468B
analogous
#848B46 #628B46 #468B4C
triadic
#628B46 #46628B #8B4662
tetradic
#628B46 #46848B #6F468B #8B4C46
square
#628B46 #46848B #6F468B #8B4C46
split-complementary
#628B46 #4C468B #8B4684
monochromatic
#293A1D #456232 #628B46 #80AF60 #A0C388

Accessibility & contrast

On white

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

On black

5.30
#628B46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B46
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B46#FFFFFF#000000##000000
##628B461.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908240
Deuteranopia (green-blind)
#8A7F4A
Tritanopia (blue-blind)
#62867B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628b46;
/* rgb */ color: rgb(98, 139, 70);
/* oklch */ color: oklch(59.0% 0.108 133.9);
Tailwind
colors: {
  custom: {
    50: '#91ad7b',
    500: '#628b46',
    950: '#000000',
  },
}
SCSS
$custom: #628b46;
$custom-light: #91ad7b;
$custom-dark: #000000;
JSON
{
  "hex": "#628b46",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 70
  },
  "hsl": {
    "h": 95.652,
    "s": 33.014,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.10787,
    "h": 133.9
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#628B46
secondary
#9B7EAF
accent
#5FC99E
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628B46

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

Preview Lab → · Contrast checker → · Palette generator →

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