#628238#628238

#628238 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.109 H 128.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#628238
RGBrgb(98, 130, 56)
HSLhsl(86, 40%, 36%)
HSVhsv(86, 57%, 51%)
CMYKcmyk(24.6%, 0%, 56.9%, 49%)
CIE-LABlab(50.51, -24.30, 35.89)
CIE-LCHlch(50.51, 43.34, 124.10°)
OKLaboklab(56.5% -0.0681 0.0845)
OKLCHoklch(56.5% 0.109 128.9)
XYZxyz(13.7334, 18.8472, 6.6549)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628238 #583882
analogous
#827D38 #628238 #3D8238
triadic
#628238 #386282 #823862
tetradic
#628238 #38827D #583882 #82383D
square
#628238 #38827D #583882 #82383D
split-complementary
#628238 #383D82 #7D3882
monochromatic
#222C13 #425726 #628238 #82AD4A #A0C272

Accessibility & contrast

On white

4.40
#628238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#628238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628238
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628238#FFFFFF#000000##000000
##6282381.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A31
Deuteranopia (green-blind)
#83783D
Tritanopia (blue-blind)
#657D72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628238;
/* rgb */ color: rgb(98, 130, 56);
/* oklch */ color: oklch(56.5% 0.109 128.9);
Tailwind
colors: {
  custom: {
    50: '#91a671',
    500: '#628238',
    950: '#000000',
  },
}
SCSS
$custom: #628238;
$custom-light: #91a671;
$custom-dark: #000000;
JSON
{
  "hex": "#628238",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 85.946,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.565,
    "c": 0.10852,
    "h": 128.9
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#628238
secondary
#876BAB
accent
#58D08C
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628238

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

Preview Lab → · Contrast checker → · Palette generator →

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