#628C36#628C36

#628C36 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.0% C 0.125 H 131.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#628C36
RGBrgb(98, 140, 54)
HSLhsl(89, 44%, 38%)
HSVhsv(89, 61%, 55%)
CMYKcmyk(30%, 0%, 61.4%, 45.1%)
CIE-LABlab(53.62, -29.40, 40.42)
CIE-LCHlch(53.62, 49.98, 126.03°)
OKLaboklab(59.01% -0.0824 0.094)
OKLCHoklch(59.01% 0.125 131.2)
XYZxyz(15.0808, 21.6187, 6.8676)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C36 #60368C
analogous
#8C8B36 #628C36 #378C36
triadic
#628C36 #36628C #8C3662
tetradic
#628C36 #368C8B #60368C #8C3637
square
#628C36 #368C8B #60368C #8C3637
split-complementary
#628C36 #36378C #8B368C
monochromatic
#243414 #436025 #628C36 #81B847 #9FC973

Accessibility & contrast

On white

3.94
#628C36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#628C36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C36
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C36#FFFFFF#000000##000000
##628C361.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822D
Deuteranopia (green-blind)
#8C7F3C
Tritanopia (blue-blind)
#64867A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c36;
/* rgb */ color: rgb(98, 140, 54);
/* oklch */ color: oklch(59.0% 0.125 131.2);
Tailwind
colors: {
  custom: {
    50: '#91ae70',
    500: '#628c36',
    950: '#000000',
  },
}
SCSS
$custom: #628c36;
$custom-light: #91ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#628c36",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 54
  },
  "hsl": {
    "h": 89.302,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59015,
    "c": 0.125,
    "h": 131.2
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#628C36
secondary
#8E6CB2
accent
#54D492
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628C36

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

Preview Lab → · Contrast checker → · Palette generator →

#628C36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva