#628B36#628B36

#628B36 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.124 H 131.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#628B36
RGBrgb(98, 139, 54)
HSLhsl(89, 44%, 38%)
HSVhsv(89, 61%, 55%)
CMYKcmyk(29.5%, 0%, 61.2%, 45.5%)
CIE-LABlab(53.31, -28.92, 40.07)
CIE-LCHlch(53.31, 49.42, 125.82°)
OKLaboklab(58.76% -0.081 0.0933)
OKLCHoklch(58.76% 0.124 131)
XYZxyz(14.9353, 21.3278, 6.8191)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B36 #5F368B
analogous
#8B8936 #628B36 #388B36
triadic
#628B36 #36628B #8B3662
tetradic
#628B36 #368B89 #5F368B #8B3638
square
#628B36 #368B89 #5F368B #8B3638
split-complementary
#628B36 #36388B #89368B
monochromatic
#243314 #435F25 #628B36 #81B747 #9FC973

Accessibility & contrast

On white

3.99
#628B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#628B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B36
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B36#FFFFFF#000000##000000
##628B361.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812D
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#648579
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b36;
/* rgb */ color: rgb(98, 139, 54);
/* oklch */ color: oklch(58.8% 0.124 131.0);
Tailwind
colors: {
  custom: {
    50: '#91ad70',
    500: '#628b36',
    950: '#000000',
  },
}
SCSS
$custom: #628b36;
$custom-light: #91ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#628b36",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 88.941,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.12357,
    "h": 131
  },
  "luminance": 0.21328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628B36

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

Preview Lab → · Contrast checker → · Palette generator →

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