#628D37#628D37

#628D37 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.126 H 131.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#628D37
RGBrgb(98, 141, 55)
HSLhsl(90, 44%, 38%)
HSVhsv(90, 61%, 55%)
CMYKcmyk(30.5%, 0%, 61%, 44.7%)
CIE-LABlab(53.94, -29.78, 40.31)
CIE-LCHlch(53.94, 50.12, 126.45°)
OKLaboklab(59.28% -0.0833 0.0939)
OKLCHoklch(59.28% 0.126 131.6)
XYZxyz(15.2513, 21.9218, 7.0415)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D37 #62378D
analogous
#8D8D37 #628D37 #378D37
triadic
#628D37 #37628D #8D3762
tetradic
#628D37 #378D8D #62378D #8D3737
square
#628D37 #378D8D #62378D #8D3737
split-complementary
#628D37 #37378D #8D378D
monochromatic
#253515 #436126 #628D37 #81B849 #9FC975

Accessibility & contrast

On white

3.90
#628D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#628D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D37
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D37#FFFFFF#000000##000000
##628D371.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832E
Deuteranopia (green-blind)
#8D803D
Tritanopia (blue-blind)
#63877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d37;
/* rgb */ color: rgb(98, 141, 55);
/* oklch */ color: oklch(59.3% 0.126 131.6);
Tailwind
colors: {
  custom: {
    50: '#91ae71',
    500: '#628d37',
    950: '#000000',
  },
}
SCSS
$custom: #628d37;
$custom-light: #91ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#628d37",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 90,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.12554,
    "h": 131.6
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#628D37
secondary
#906EB2
accent
#54D494
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D37

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

Preview Lab → · Contrast checker → · Palette generator →

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