#628F37#628F37

#628F37 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.128 H 132.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#628F37
RGBrgb(98, 143, 55)
HSLhsl(91, 44%, 39%)
HSVhsv(91, 62%, 56%)
CMYKcmyk(31.5%, 0%, 61.5%, 43.9%)
CIE-LABlab(54.57, -30.73, 41.02)
CIE-LCHlch(54.57, 51.25, 126.84°)
OKLaboklab(59.79% -0.0859 0.0954)
OKLCHoklch(59.79% 0.128 132)
XYZxyz(15.5488, 22.5169, 7.1407)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F37 #64378F
analogous
#8E8F37 #628F37 #378F38
triadic
#628F37 #37628F #8F3762
tetradic
#628F37 #378E8F #64378F #8F3837
square
#628F37 #378E8F #64378F #8F3837
split-complementary
#628F37 #38378F #8F378E
monochromatic
#253715 #446326 #628F37 #80B94A #9FCA76

Accessibility & contrast

On white

3.82
#628F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#628F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F37
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F37#FFFFFF#000000##000000
##628F371.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852D
Deuteranopia (green-blind)
#8E813D
Tritanopia (blue-blind)
#63897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f37;
/* rgb */ color: rgb(98, 143, 55);
/* oklch */ color: oklch(59.8% 0.128 132.0);
Tailwind
colors: {
  custom: {
    50: '#92b071',
    500: '#628f37',
    950: '#000000',
  },
}
SCSS
$custom: #628f37;
$custom-light: #92b071;
$custom-dark: #000000;
JSON
{
  "hex": "#628f37",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 90.682,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59791,
    "c": 0.1284,
    "h": 132
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#628F37
secondary
#926FB3
accent
#54D495
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628F37

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

Preview Lab → · Contrast checker → · Palette generator →

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