#628E41#628E41

#628E41 is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.118 H 133.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#628E41
RGBrgb(98, 142, 65)
HSLhsl(94, 37%, 41%)
HSVhsv(94, 54%, 56%)
CMYKcmyk(31%, 0%, 54.2%, 44.3%)
CIE-LABlab(54.37, -29.18, 35.90)
CIE-LCHlch(54.37, 46.27, 129.11°)
OKLaboklab(59.66% -0.0809 0.0853)
OKLCHoklch(59.66% 0.118 133.5)
XYZxyz(15.6639, 22.3238, 8.4836)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E41 #6D418E
analogous
#888E41 #628E41 #418E47
triadic
#628E41 #41628E #8E4162
tetradic
#628E41 #41888E #6D418E #8E4741
square
#628E41 #41888E #6D418E #8E4741
split-complementary
#628E41 #47418E #8E4188
monochromatic
#283A1B #45642E #628E41 #80B359 #A0C683

Accessibility & contrast

On white

3.84
#628E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#628E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E41
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E41#FFFFFF#000000##000000
##628E411.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#8D8146
Tritanopia (blue-blind)
#62897D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e41;
/* rgb */ color: rgb(98, 142, 65);
/* oklch */ color: oklch(59.7% 0.118 133.5);
Tailwind
colors: {
  custom: {
    50: '#91af78',
    500: '#628e41',
    950: '#000000',
  },
}
SCSS
$custom: #628e41;
$custom-light: #91af78;
$custom-dark: #000000;
JSON
{
  "hex": "#628e41",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 65
  },
  "hsl": {
    "h": 94.286,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.11757,
    "h": 133.5
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#628E41
secondary
#997AB1
accent
#5BCD9C
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #628E41

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

Preview Lab → · Contrast checker → · Palette generator →

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