#628136#628136

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

Color values

HEX#628136
RGBrgb(98, 129, 54)
HSLhsl(85, 41%, 36%)
HSVhsv(85, 58%, 51%)
CMYKcmyk(24%, 0%, 58.1%, 49.4%)
CIE-LABlab(50.17, -24.01, 36.50)
CIE-LCHlch(50.17, 43.69, 123.34°)
OKLaboklab(56.22% -0.0674 0.0856)
OKLCHoklch(56.22% 0.109 128.2)
XYZxyz(13.5530, 18.5633, 6.3583)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628136 #553681
analogous
#817A36 #628136 #3C8136
triadic
#628136 #366281 #813662
tetradic
#628136 #36817A #553681 #81363C
square
#628136 #36817A #553681 #81363C
split-complementary
#628136 #363C81 #7A3681
monochromatic
#202B12 #415624 #628136 #83AC48 #A0C36F

Accessibility & contrast

On white

4.46
#628136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628136#FFFFFF#000000##000000
##6281361.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#657C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628136;
/* rgb */ color: rgb(98, 129, 54);
/* oklch */ color: oklch(56.2% 0.109 128.2);
Tailwind
colors: {
  custom: {
    50: '#91a570',
    500: '#628136',
    950: '#000000',
  },
}
SCSS
$custom: #628136;
$custom-light: #91a570;
$custom-dark: #000000;
JSON
{
  "hex": "#628136",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 84.8,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.10899,
    "h": 128.2
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#628136
secondary
#8468AB
accent
#57D189
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628136

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

Preview Lab → · Contrast checker → · Palette generator →

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