#628E39#628E39

#628E39 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.125 H 132.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#628E39
RGBrgb(98, 142, 57)
HSLhsl(91, 43%, 39%)
HSVhsv(91, 60%, 56%)
CMYKcmyk(31%, 0%, 59.9%, 44.3%)
CIE-LABlab(54.28, -30.06, 39.74)
CIE-LCHlch(54.28, 49.83, 127.10°)
OKLaboklab(59.56% -0.0839 0.0929)
OKLCHoklch(59.56% 0.125 132.1)
XYZxyz(15.4483, 22.2376, 7.3484)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E39 #65398E
analogous
#8D8E39 #628E39 #398E3B
triadic
#628E39 #39628E #8E3962
tetradic
#628E39 #398D8E #65398E #8E3B39
square
#628E39 #398D8E #65398E #8E3B39
split-complementary
#628E39 #3B398E #8E398D
monochromatic
#263716 #446227 #628E39 #80B74D #9FC978

Accessibility & contrast

On white

3.85
#628E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#628E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E39
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E39#FFFFFF#000000##000000
##628E391.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948430
Deuteranopia (green-blind)
#8D813F
Tritanopia (blue-blind)
#63897C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e39;
/* rgb */ color: rgb(98, 142, 57);
/* oklch */ color: oklch(59.6% 0.125 132.1);
Tailwind
colors: {
  custom: {
    50: '#91af72',
    500: '#628e39',
    950: '#000000',
  },
}
SCSS
$custom: #628e39;
$custom-light: #91af72;
$custom-dark: #000000;
JSON
{
  "hex": "#628e39",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 91.059,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.12519,
    "h": 132.1
  },
  "luminance": 0.22238
}

Semantic roles & 50–950 ramp

primary
#628E39
secondary
#9371B2
accent
#55D296
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628E39

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

Preview Lab → · Contrast checker → · Palette generator →

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