#628237#628237

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

Color values

HEX#628237
RGBrgb(98, 130, 55)
HSLhsl(86, 41%, 36%)
HSVhsv(86, 58%, 51%)
CMYKcmyk(24.6%, 0%, 57.7%, 49%)
CIE-LABlab(50.50, -24.41, 36.37)
CIE-LCHlch(50.50, 43.80, 123.86°)
OKLaboklab(56.49% -0.0685 0.0855)
OKLCHoklch(56.49% 0.11 128.7)
XYZxyz(13.7091, 18.8375, 6.5274)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628237 #573782
analogous
#827D37 #628237 #3D8237
triadic
#628237 #376282 #823762
tetradic
#628237 #37827D #573782 #82373D
square
#628237 #37827D #573782 #82373D
split-complementary
#628237 #373D82 #7D3782
monochromatic
#212C13 #425725 #628237 #82AD49 #A0C371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628237#FFFFFF#000000##000000
##6282371.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)
#887A2F
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#657D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628237;
/* rgb */ color: rgb(98, 130, 55);
/* oklch */ color: oklch(56.5% 0.110 128.7);
Tailwind
colors: {
  custom: {
    50: '#91a670',
    500: '#628237',
    950: '#000000',
  },
}
SCSS
$custom: #628237;
$custom-light: #91a670;
$custom-dark: #000000;
JSON
{
  "hex": "#628237",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 85.6,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.1095,
    "h": 128.7
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#628237
secondary
#8669AB
accent
#57D08B
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628237

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

Preview Lab → · Contrast checker → · Palette generator →

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