#628B37#628B37

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

Color values

HEX#628B37
RGBrgb(98, 139, 55)
HSLhsl(89, 43%, 38%)
HSVhsv(89, 60%, 55%)
CMYKcmyk(29.5%, 0%, 60.4%, 45.5%)
CIE-LABlab(53.32, -28.82, 39.61)
CIE-LCHlch(53.32, 48.98, 126.05°)
OKLaboklab(58.77% -0.0807 0.0924)
OKLCHoklch(58.77% 0.123 131.1)
XYZxyz(14.9590, 21.3373, 6.9441)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B37 #60378B
analogous
#8B8A37 #628B37 #388B37
triadic
#628B37 #37628B #8B3762
tetradic
#628B37 #378B8A #60378B #8B3738
square
#628B37 #378B8A #60378B #8B3738
split-complementary
#628B37 #37388B #8A378B
monochromatic
#243314 #435F26 #628B37 #81B748 #9FC874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628B37#FFFFFF#000000##000000
##628B371.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)
#91812E
Deuteranopia (green-blind)
#8B7E3D
Tritanopia (blue-blind)
#648579
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b37;
/* rgb */ color: rgb(98, 139, 55);
/* oklch */ color: oklch(58.8% 0.123 131.1);
Tailwind
colors: {
  custom: {
    50: '#91ad71',
    500: '#628b37',
    950: '#000000',
  },
}
SCSS
$custom: #628b37;
$custom-light: #91ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#628b37",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 89.286,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.12266,
    "h": 131.1
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#628B37
secondary
#8E6DB1
accent
#55D392
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628B37

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

Preview Lab → · Contrast checker → · Palette generator →

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