#628137#628137

#628137 is a mid, moderate yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.108 H 128.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#628137
RGBrgb(98, 129, 55)
HSLhsl(85, 40%, 36%)
HSVhsv(85, 57%, 51%)
CMYKcmyk(24%, 0%, 57.4%, 49.4%)
CIE-LABlab(50.18, -23.90, 36.01)
CIE-LCHlch(50.18, 43.22, 123.58°)
OKLaboklab(56.23% -0.0671 0.0847)
OKLCHoklch(56.23% 0.108 128.4)
XYZxyz(13.5768, 18.5728, 6.4833)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628137 #563781
analogous
#817B37 #628137 #3D8137
triadic
#628137 #376281 #813762
tetradic
#628137 #37817B #563781 #81373D
square
#628137 #37817B #563781 #81373D
split-complementary
#628137 #373D81 #7B3781
monochromatic
#212B12 #415625 #628137 #83AC49 #A0C270

Accessibility & contrast

On white

4.45
#628137 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#628137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628137
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628137#FFFFFF#000000##000000
##6281371.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877930
Deuteranopia (green-blind)
#82773C
Tritanopia (blue-blind)
#657C71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628137;
/* rgb */ color: rgb(98, 129, 55);
/* oklch */ color: oklch(56.2% 0.108 128.4);
Tailwind
colors: {
  custom: {
    50: '#91a570',
    500: '#628137',
    950: '#000000',
  },
}
SCSS
$custom: #628137;
$custom-light: #91a570;
$custom-dark: #000000;
JSON
{
  "hex": "#628137",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 85.135,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.10802,
    "h": 128.4
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#628137
secondary
#8569AB
accent
#58D08A
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628137

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

Preview Lab → · Contrast checker → · Palette generator →

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