#628A27#628A27

#628A27 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.4% C 0.134 H 129.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#628A27
RGBrgb(98, 138, 39)
HSLhsl(84, 56%, 35%)
HSVhsv(84, 72%, 54%)
CMYKcmyk(29%, 0%, 71.7%, 45.9%)
CIE-LABlab(52.86, -29.70, 46.19)
CIE-LCHlch(52.86, 54.92, 122.74°)
OKLaboklab(58.36% -0.0845 0.1042)
OKLCHoklch(58.36% 0.134 129)
XYZxyz(14.4916, 20.9197, 5.1935)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A27 #4F278A
analogous
#8A8027 #628A27 #318A27
triadic
#628A27 #27628A #8A2762
tetradic
#628A27 #278A80 #4F278A #8A2731
square
#628A27 #278A80 #4F278A #8A2731
split-complementary
#628A27 #27318A #80278A
monochromatic
#1E2B0C #405A1A #628A27 #84BA34 #A1D15B

Accessibility & contrast

On white

4.05
#628A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#628A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A27#FFFFFF#000000##000000
##628A271.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#658476
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a27;
/* rgb */ color: rgb(98, 138, 39);
/* oklch */ color: oklch(58.4% 0.134 129.0);
Tailwind
colors: {
  custom: {
    50: '#92ac67',
    500: '#628a27',
    950: '#000000',
  },
}
SCSS
$custom: #628a27;
$custom-light: #92ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#628a27",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 84.242,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.13416,
    "h": 129
  },
  "luminance": 0.2092
}

Semantic roles & 50–950 ramp

primary
#628A27
secondary
#7D57B6
accent
#49DF85
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A27

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

Preview Lab → · Contrast checker → · Palette generator →

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