#628F45#628F45

#628F45 is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.115 H 134.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#628F45
RGBrgb(98, 143, 69)
HSLhsl(96, 35%, 42%)
HSVhsv(96, 52%, 56%)
CMYKcmyk(31.5%, 0%, 51.7%, 43.9%)
CIE-LABlab(54.73, -29.18, 34.30)
CIE-LCHlch(54.73, 45.03, 130.39°)
OKLaboklab(59.97% -0.0806 0.0821)
OKLCHoklch(59.97% 0.115 134.5)
XYZxyz(15.9333, 22.6707, 9.1655)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F45 #72458F
analogous
#878F45 #628F45 #458F4D
triadic
#628F45 #45628F #8F4562
tetradic
#628F45 #45878F #72458F #8F4D45
square
#628F45 #45878F #72458F #8F4D45
split-complementary
#628F45 #4D458F #8F4587
monochromatic
#293C1D #466631 #628F45 #80B25F #A1C689

Accessibility & contrast

On white

3.79
#628F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#628F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F45
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F45#FFFFFF#000000##000000
##628F451.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853E
Deuteranopia (green-blind)
#8D824A
Tritanopia (blue-blind)
#628A7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f45;
/* rgb */ color: rgb(98, 143, 69);
/* oklch */ color: oklch(60.0% 0.115 134.5);
Tailwind
colors: {
  custom: {
    50: '#91b07a',
    500: '#628f45',
    950: '#000000',
  },
}
SCSS
$custom: #628f45;
$custom-light: #91b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#628f45",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 96.486,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.11506,
    "h": 134.5
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#628F45
secondary
#9D7FB1
accent
#5DCBA0
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628F45

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

Preview Lab → · Contrast checker → · Palette generator →

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