#628C46#628C46

#628C46 is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.109 H 134.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#628C46
RGBrgb(98, 140, 70)
HSLhsl(96, 33%, 41%)
HSVhsv(96, 50%, 55%)
CMYKcmyk(30%, 0%, 50%, 45.1%)
CIE-LABlab(53.81, -27.61, 32.65)
CIE-LCHlch(53.81, 42.76, 130.21°)
OKLaboklab(59.23% -0.0762 0.0786)
OKLCHoklch(59.23% 0.109 134.1)
XYZxyz(15.5203, 21.7945, 9.1822)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C46 #70468C
analogous
#858C46 #628C46 #468C4D
triadic
#628C46 #46628C #8C4662
tetradic
#628C46 #46858C #70468C #8C4D46
square
#628C46 #46858C #70468C #8C4D46
split-complementary
#628C46 #4D468C #8C4685
monochromatic
#293A1D #456332 #628C46 #80AF60 #A0C489

Accessibility & contrast

On white

3.92
#628C46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#628C46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C46
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C46#FFFFFF#000000##000000
##628C461.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918340
Deuteranopia (green-blind)
#8B7F4A
Tritanopia (blue-blind)
#62877C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628c46;
/* rgb */ color: rgb(98, 140, 70);
/* oklch */ color: oklch(59.2% 0.109 134.1);
Tailwind
colors: {
  custom: {
    50: '#91ae7b',
    500: '#628c46',
    950: '#000000',
  },
}
SCSS
$custom: #628c46;
$custom-light: #91ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#628c46",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 70
  },
  "hsl": {
    "h": 96,
    "s": 33.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.10942,
    "h": 134.1
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#628C46
secondary
#9C7FAF
accent
#5EC99F
background
#F9FAF7
surface
#F1F4EE
border
#CBCEC9
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628C46

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

Preview Lab → · Contrast checker → · Palette generator →

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