#628142#628142

#628142 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.097 H 130.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#628142
RGBrgb(98, 129, 66)
HSLhsl(90, 32%, 38%)
HSVhsv(90, 49%, 51%)
CMYKcmyk(24%, 0%, 48.8%, 49.4%)
CIE-LABlab(50.32, -22.63, 30.48)
CIE-LCHlch(50.32, 37.96, 126.60°)
OKLaboklab(56.39% -0.0626 0.0734)
OKLCHoklch(56.39% 0.097 130.5)
XYZxyz(13.8705, 18.6902, 8.0300)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628142 #614281
analogous
#818042 #628142 #428142
triadic
#628142 #426281 #814262
tetradic
#628142 #428180 #614281 #814242
square
#628142 #428180 #614281 #814242
split-complementary
#628142 #424281 #804281
monochromatic
#243019 #43592D #628142 #81A957 #9FBE80

Accessibility & contrast

On white

4.43
#628142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628142
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628142#FFFFFF#000000##000000
##6281421.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#647C72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628142;
/* rgb */ color: rgb(98, 129, 66);
/* oklch */ color: oklch(56.4% 0.097 130.5);
Tailwind
colors: {
  custom: {
    50: '#90a578',
    500: '#628142',
    950: '#000000',
  },
}
SCSS
$custom: #628142;
$custom-light: #90a578;
$custom-dark: #000000;
JSON
{
  "hex": "#628142",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 89.524,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.09653,
    "h": 130.5
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#628142
secondary
#8F76A9
accent
#5FC893
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D0F09
muted
#7D7F7B

Preview Lab

Preview with #628142

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

Preview Lab → · Contrast checker → · Palette generator →

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