#628C27#628C27

#628C27 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.137 H 129.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#628C27
RGBrgb(98, 140, 39)
HSLhsl(85, 56%, 35%)
HSVhsv(85, 72%, 55%)
CMYKcmyk(30%, 0%, 72.1%, 45.1%)
CIE-LABlab(53.49, -30.65, 46.83)
CIE-LCHlch(53.49, 55.97, 123.20°)
OKLaboklab(58.87% -0.0871 0.1055)
OKLCHoklch(58.87% 0.137 129.5)
XYZxyz(14.7812, 21.4989, 5.2900)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C27 #51278C
analogous
#8C8327 #628C27 #308C27
triadic
#628C27 #27628C #8C2762
tetradic
#628C27 #278C83 #51278C #8C2730
square
#628C27 #278C83 #51278C #8C2730
split-complementary
#628C27 #27308C #83278C
monochromatic
#1F2C0C #405C1A #628C27 #84BC34 #A1D25C

Accessibility & contrast

On white

3.96
#628C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#628C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C27
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C27#FFFFFF#000000##000000
##628C271.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c27;
/* rgb */ color: rgb(98, 140, 39);
/* oklch */ color: oklch(58.9% 0.137 129.5);
Tailwind
colors: {
  custom: {
    50: '#92ae68',
    500: '#628c27',
    950: '#000000',
  },
}
SCSS
$custom: #628c27;
$custom-light: #92ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#628c27",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 84.95,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.13683,
    "h": 129.5
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#628C27
secondary
#7F58B7
accent
#48E087
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C27

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

Preview Lab → · Contrast checker → · Palette generator →

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