#628B45#628B45

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

Color values

HEX#628B45
RGBrgb(98, 139, 69)
HSLhsl(95, 34%, 41%)
HSVhsv(95, 50%, 55%)
CMYKcmyk(29.5%, 0%, 50.4%, 45.5%)
CIE-LABlab(53.48, -27.25, 32.78)
CIE-LCHlch(53.48, 42.62, 129.74°)
OKLaboklab(58.96% -0.0752 0.0788)
OKLCHoklch(58.96% 0.109 133.7)
XYZxyz(15.3435, 21.4911, 8.9689)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B45 #6E458B
analogous
#858B45 #628B45 #458B4B
triadic
#628B45 #45628B #8B4562
tetradic
#628B45 #45858B #6E458B #8B4B45
square
#628B45 #45858B #6E458B #8B4B45
split-complementary
#628B45 #4B458B #8B4585
monochromatic
#28391C #456231 #628B45 #80AF5E #A0C387

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B45#FFFFFF#000000##000000
##628B451.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)
#90823F
Deuteranopia (green-blind)
#8A7F49
Tritanopia (blue-blind)
#62867B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628b45;
/* rgb */ color: rgb(98, 139, 69);
/* oklch */ color: oklch(59.0% 0.109 133.7);
Tailwind
colors: {
  custom: {
    50: '#91ad7a',
    500: '#628b45',
    950: '#000000',
  },
}
SCSS
$custom: #628b45;
$custom-light: #91ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#628b45",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 95.143,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.10892,
    "h": 133.7
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#628B45
secondary
#9A7DAF
accent
#5ECA9D
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628B45

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

Preview Lab → · Contrast checker → · Palette generator →

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