#628146#628146

#628146 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.5% C 0.092 H 131.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#628146
RGBrgb(98, 129, 70)
HSLhsl(92, 30%, 39%)
HSVhsv(92, 46%, 51%)
CMYKcmyk(24%, 0%, 45.7%, 49.4%)
CIE-LABlab(50.38, -22.11, 28.40)
CIE-LCHlch(50.38, 35.99, 127.91°)
OKLaboklab(56.46% -0.0609 0.069)
OKLCHoklch(56.46% 0.092 131.4)
XYZxyz(13.9925, 18.7391, 8.6730)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628146 #654681
analogous
#808146 #628146 #468148
triadic
#628146 #466281 #814662
tetradic
#628146 #468081 #654681 #814846
square
#628146 #468081 #654681 #814846
split-complementary
#628146 #484681 #814680
monochromatic
#26321B #445930 #628146 #80A75D #9FBD85

Accessibility & contrast

On white

4.42
#628146 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#628146 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628146
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628146#FFFFFF#000000##000000
##6281461.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867941
Deuteranopia (green-blind)
#817749
Tritanopia (blue-blind)
#637D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628146;
/* rgb */ color: rgb(98, 129, 70);
/* oklch */ color: oklch(56.5% 0.092 131.4);
Tailwind
colors: {
  custom: {
    50: '#90a57a',
    500: '#628146',
    950: '#000000',
  },
}
SCSS
$custom: #628146;
$custom-light: #90a57a;
$custom-dark: #000000;
JSON
{
  "hex": "#628146",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 70
  },
  "hsl": {
    "h": 91.525,
    "s": 29.648,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.09206,
    "h": 131.4
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#628146
secondary
#937BA8
accent
#62C696
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0D0F09
muted
#7D7F7B

Preview Lab

Preview with #628146

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

Preview Lab → · Contrast checker → · Palette generator →

#628146 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva