#628116#628116

#628116 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.133 H 125.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#628116
RGBrgb(98, 129, 22)
HSLhsl(77, 71%, 30%)
HSVhsv(77, 83%, 51%)
CMYKcmyk(24%, 0%, 82.9%, 49.4%)
CIE-LABlab(49.92, -26.33, 49.38)
CIE-LCHlch(49.92, 55.96, 118.06°)
OKLaboklab(55.94% -0.0767 0.1081)
OKLCHoklch(55.94% 0.133 125.4)
XYZxyz(13.0322, 18.3549, 3.6152)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628116 #351681
analogous
#816B16 #628116 #2D8116
triadic
#628116 #166281 #811662
tetradic
#628116 #16816B #351681 #81162D
square
#628116 #16816B #351681 #81162D
split-complementary
#628116 #162D81 #6B1681
monochromatic
#141A04 #3A4D0D #628116 #8AB51F #ACDD35

Accessibility & contrast

On white

4.50
#628116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#628116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628116
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628116#FFFFFF#000000##000000
##6281161.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#677A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628116;
/* rgb */ color: rgb(98, 129, 22);
/* oklch */ color: oklch(55.9% 0.133 125.4);
Tailwind
colors: {
  custom: {
    50: '#92a55e',
    500: '#628116',
    950: '#000000',
  },
}
SCSS
$custom: #628116;
$custom-light: #92a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#628116",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 77.383,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.13251,
    "h": 125.4
  },
  "luminance": 0.18355
}

Semantic roles & 50–950 ramp

primary
#628116
secondary
#603DB6
accent
#3AEE6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628116

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

Preview Lab → · Contrast checker → · Palette generator →

#628116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva