#628037#628037

#628037 is a mid, moderate yellow-green. Relative luminance 0.183; OKLCH L 56.0% C 0.107 H 128.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#628037
RGBrgb(98, 128, 55)
HSLhsl(85, 40%, 36%)
HSVhsv(85, 57%, 50%)
CMYKcmyk(23.4%, 0%, 57%, 49.8%)
CIE-LABlab(49.87, -23.40, 35.65)
CIE-LCHlch(49.87, 42.64, 123.28°)
OKLaboklab(55.98% -0.0657 0.0839)
OKLCHoklch(55.98% 0.107 128.1)
XYZxyz(13.4457, 18.3106, 6.4396)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628037 #553780
analogous
#807937 #628037 #3D8037
triadic
#628037 #376280 #803762
tetradic
#628037 #378079 #553780 #80373D
square
#628037 #378079 #553780 #80373D
split-complementary
#628037 #373D80 #793780
monochromatic
#202A12 #415525 #628037 #83AB49 #A0C270

Accessibility & contrast

On white

4.50
#628037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#628037 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628037
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628037#FFFFFF#000000##000000
##6280371.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#82763C
Tritanopia (blue-blind)
#657B70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628037;
/* rgb */ color: rgb(98, 128, 55);
/* oklch */ color: oklch(56.0% 0.107 128.1);
Tailwind
colors: {
  custom: {
    50: '#91a570',
    500: '#628037',
    950: '#000000',
  },
}
SCSS
$custom: #628037;
$custom-light: #91a570;
$custom-dark: #000000;
JSON
{
  "hex": "#628037",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 55
  },
  "hsl": {
    "h": 84.658,
    "s": 39.891,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.10653,
    "h": 128.1
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#628037
secondary
#8469AA
accent
#58D089
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #628037

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

Preview Lab → · Contrast checker → · Palette generator →

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