#628341#628341

#628341 is a mid, moderate yellow-green. Relative luminance 0.192; OKLCH L 56.9% C 0.101 H 130.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#628341
RGBrgb(98, 131, 65)
HSLhsl(90, 34%, 38%)
HSVhsv(90, 50%, 51%)
CMYKcmyk(25.2%, 0%, 50.4%, 48.6%)
CIE-LABlab(50.93, -23.77, 31.76)
CIE-LCHlch(50.93, 39.67, 126.82°)
OKLaboklab(56.88% -0.0659 0.0762)
OKLCHoklch(56.88% 0.101 130.8)
XYZxyz(14.1073, 19.2106, 7.9648)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628341 #624183
analogous
#838341 #628341 #418341
triadic
#628341 #416283 #834162
tetradic
#628341 #418383 #624183 #834141
square
#628341 #418383 #624183 #834141
split-complementary
#628341 #414183 #834183
monochromatic
#253118 #435A2D #628341 #81AB56 #9FBF7F

Accessibility & contrast

On white

4.34
#628341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628341
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628341#FFFFFF#000000##000000
##6283411.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#837845
Tritanopia (blue-blind)
#647E74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628341;
/* rgb */ color: rgb(98, 131, 65);
/* oklch */ color: oklch(56.9% 0.101 130.8);
Tailwind
colors: {
  custom: {
    50: '#90a777',
    500: '#628341',
    950: '#000000',
  },
}
SCSS
$custom: #628341;
$custom-light: #90a777;
$custom-dark: #000000;
JSON
{
  "hex": "#628341",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 90,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.10074,
    "h": 130.8
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#628341
secondary
#9076AA
accent
#5ECA94
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F09
muted
#7E7F7B

Preview Lab

Preview with #628341

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

Preview Lab → · Contrast checker → · Palette generator →

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