#628E27#628E27

#628E27 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.140 H 130.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628E27
RGBrgb(98, 142, 39)
HSLhsl(86, 57%, 35%)
HSVhsv(86, 73%, 56%)
CMYKcmyk(31%, 0%, 72.5%, 44.3%)
CIE-LABlab(54.12, -31.59, 47.47)
CIE-LCHlch(54.12, 57.02, 123.64°)
OKLaboklab(59.38% -0.0896 0.1069)
OKLCHoklch(59.38% 0.14 130)
XYZxyz(15.0761, 22.0887, 5.3883)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E27 #53278E
analogous
#8E8627 #628E27 #2E8E27
triadic
#628E27 #27628E #8E2762
tetradic
#628E27 #278E86 #53278E #8E272E
square
#628E27 #278E86 #53278E #8E272E
split-complementary
#628E27 #272E8E #86278E
monochromatic
#202E0D #415E1A #628E27 #83BE34 #A0D25D

Accessibility & contrast

On white

3.88
#628E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E27
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E27#FFFFFF#000000##000000
##628E271.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958316
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e27;
/* rgb */ color: rgb(98, 142, 39);
/* oklch */ color: oklch(59.4% 0.140 130.0);
Tailwind
colors: {
  custom: {
    50: '#92af68',
    500: '#628e27',
    950: '#000000',
  },
}
SCSS
$custom: #628e27;
$custom-light: #92af68;
$custom-dark: #000000;
JSON
{
  "hex": "#628e27",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 85.631,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.1395,
    "h": 130
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#628E27
secondary
#8259B8
accent
#48E089
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E27

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

Preview Lab → · Contrast checker → · Palette generator →

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