#628E45#628E45

#628E45 is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.114 H 134.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628E45
RGBrgb(98, 142, 69)
HSLhsl(96, 35%, 41%)
HSVhsv(96, 51%, 56%)
CMYKcmyk(31%, 0%, 51.4%, 44.3%)
CIE-LABlab(54.42, -28.70, 33.92)
CIE-LCHlch(54.42, 44.43, 130.24°)
OKLaboklab(59.72% -0.0793 0.0813)
OKLCHoklch(59.72% 0.114 134.3)
XYZxyz(15.7839, 22.3718, 9.1156)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E45 #71458E
analogous
#878E45 #628E45 #458E4D
triadic
#628E45 #45628E #8E4562
tetradic
#628E45 #45878E #71458E #8E4D45
square
#628E45 #45878E #71458E #8E4D45
split-complementary
#628E45 #4D458E #8E4587
monochromatic
#293C1D #466531 #628E45 #80B15F #A0C588

Accessibility & contrast

On white

3.84
#628E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E45
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E45#FFFFFF#000000##000000
##628E451.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843F
Deuteranopia (green-blind)
#8C814A
Tritanopia (blue-blind)
#62897D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e45;
/* rgb */ color: rgb(98, 142, 69);
/* oklch */ color: oklch(59.7% 0.114 134.3);
Tailwind
colors: {
  custom: {
    50: '#91af7a',
    500: '#628e45',
    950: '#000000',
  },
}
SCSS
$custom: #628e45;
$custom-light: #91af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#628e45",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 96.164,
    "s": 34.597,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.11354,
    "h": 134.3
  },
  "luminance": 0.22372
}

Semantic roles & 50–950 ramp

primary
#628E45
secondary
#9D7EB0
accent
#5DCB9F
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628E45

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

Preview Lab → · Contrast checker → · Palette generator →

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