#628E37#628E37

#628E37 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.127 H 131.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#628E37
RGBrgb(98, 142, 55)
HSLhsl(90, 44%, 39%)
HSVhsv(90, 61%, 56%)
CMYKcmyk(31%, 0%, 61.3%, 44.3%)
CIE-LABlab(54.26, -30.26, 40.67)
CIE-LCHlch(54.26, 50.69, 126.65°)
OKLaboklab(59.54% -0.0846 0.0947)
OKLCHoklch(59.54% 0.127 131.8)
XYZxyz(15.3994, 22.2180, 7.0908)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E37 #63378E
analogous
#8D8E37 #628E37 #378E38
triadic
#628E37 #37628E #8E3762
tetradic
#628E37 #378D8E #63378E #8E3837
square
#628E37 #378D8E #63378E #8E3837
split-complementary
#628E37 #38378E #8E378D
monochromatic
#253615 #446226 #628E37 #80B949 #9FCA76

Accessibility & contrast

On white

3.86
#628E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#628E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E37
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E37#FFFFFF#000000##000000
##628E371.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842D
Deuteranopia (green-blind)
#8E813D
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e37;
/* rgb */ color: rgb(98, 142, 55);
/* oklch */ color: oklch(59.5% 0.127 131.8);
Tailwind
colors: {
  custom: {
    50: '#91af71',
    500: '#628e37',
    950: '#000000',
  },
}
SCSS
$custom: #628e37;
$custom-light: #91af71;
$custom-dark: #000000;
JSON
{
  "hex": "#628e37",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 90.345,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.12698,
    "h": 131.8
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#628E37
secondary
#916EB3
accent
#54D495
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628E37

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

Preview Lab → · Contrast checker → · Palette generator →

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