#628A37#628A37

#628A37 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.121 H 130.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#628A37
RGBrgb(98, 138, 55)
HSLhsl(89, 43%, 38%)
HSVhsv(89, 60%, 54%)
CMYKcmyk(29%, 0%, 60.1%, 45.9%)
CIE-LABlab(53.00, -28.34, 39.25)
CIE-LCHlch(53.00, 48.41, 125.83°)
OKLaboklab(58.52% -0.0793 0.0916)
OKLCHoklch(58.52% 0.121 130.9)
XYZxyz(14.8149, 21.0490, 6.8960)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A37 #5F378A
analogous
#8A8837 #628A37 #388A37
triadic
#628A37 #37628A #8A3762
tetradic
#628A37 #378A88 #5F378A #8A3738
square
#628A37 #378A88 #5F378A #8A3738
split-complementary
#628A37 #37388A #88378A
monochromatic
#243214 #435E26 #628A37 #81B648 #9FC874

Accessibility & contrast

On white

4.03
#628A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#628A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A37
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A37#FFFFFF#000000##000000
##628A371.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802E
Deuteranopia (green-blind)
#8A7E3D
Tritanopia (blue-blind)
#648478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a37;
/* rgb */ color: rgb(98, 138, 55);
/* oklch */ color: oklch(58.5% 0.121 130.9);
Tailwind
colors: {
  custom: {
    50: '#91ac71',
    500: '#628a37',
    950: '#000000',
  },
}
SCSS
$custom: #628a37;
$custom-light: #91ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#628a37",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 88.916,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.12121,
    "h": 130.9
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#628A37
secondary
#8D6DB0
accent
#55D392
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628A37

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

Preview Lab → · Contrast checker → · Palette generator →

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