#628236#628236

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

Color values

HEX#628236
RGBrgb(98, 130, 54)
HSLhsl(85, 41%, 36%)
HSVhsv(85, 58%, 51%)
CMYKcmyk(24.6%, 0%, 58.5%, 49%)
CIE-LABlab(50.49, -24.51, 36.86)
CIE-LCHlch(50.49, 44.26, 123.62°)
OKLaboklab(56.47% -0.0688 0.0864)
OKLCHoklch(56.47% 0.11 128.5)
XYZxyz(13.6854, 18.8280, 6.4025)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628236 #563682
analogous
#827C36 #628236 #3C8236
triadic
#628236 #366282 #823662
tetradic
#628236 #36827C #563682 #82363C
square
#628236 #36827C #563682 #82363C
split-complementary
#628236 #363C82 #7C3682
monochromatic
#212C12 #415724 #628236 #83AD48 #A0C36F

Accessibility & contrast

On white

4.41
#628236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628236#FFFFFF#000000##000000
##6282361.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2E
Deuteranopia (green-blind)
#83773B
Tritanopia (blue-blind)
#657D71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628236;
/* rgb */ color: rgb(98, 130, 54);
/* oklch */ color: oklch(56.5% 0.110 128.5);
Tailwind
colors: {
  custom: {
    50: '#91a670',
    500: '#628236',
    950: '#000000',
  },
}
SCSS
$custom: #628236;
$custom-light: #91a670;
$custom-dark: #000000;
JSON
{
  "hex": "#628236",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 85.263,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.11046,
    "h": 128.5
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

primary
#628236
secondary
#8568AC
accent
#57D18A
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628236

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

Preview Lab → · Contrast checker → · Palette generator →

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