#628241#628241

#628241 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.099 H 130.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#628241
RGBrgb(98, 130, 65)
HSLhsl(90, 33%, 38%)
HSVhsv(90, 50%, 51%)
CMYKcmyk(24.6%, 0%, 50%, 49%)
CIE-LABlab(50.62, -23.27, 31.38)
CIE-LCHlch(50.62, 39.06, 126.56°)
OKLaboklab(56.63% -0.0645 0.0754)
OKLCHoklch(56.63% 0.099 130.5)
XYZxyz(13.9736, 18.9433, 7.9202)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628241 #614182
analogous
#828141 #628241 #428241
triadic
#628241 #416282 #824162
tetradic
#628241 #418281 #614182 #824142
square
#628241 #418281 #614182 #824142
split-complementary
#628241 #414282 #814182
monochromatic
#243018 #43592D #628241 #81AA56 #9FBF7F

Accessibility & contrast

On white

4.39
#628241 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#628241 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628241
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628241#FFFFFF#000000##000000
##6282411.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#827845
Tritanopia (blue-blind)
#647D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628241;
/* rgb */ color: rgb(98, 130, 65);
/* oklch */ color: oklch(56.6% 0.099 130.5);
Tailwind
colors: {
  custom: {
    50: '#90a677',
    500: '#628241',
    950: '#000000',
  },
}
SCSS
$custom: #628241;
$custom-light: #90a677;
$custom-dark: #000000;
JSON
{
  "hex": "#628241",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 89.538,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.09919,
    "h": 130.5
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#628241
secondary
#8F75A9
accent
#5EC993
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F09
muted
#7E7F7B

Preview Lab

Preview with #628241

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

Preview Lab → · Contrast checker → · Palette generator →

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