#628916#628916

#628916 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.0% C 0.143 H 127.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#628916
RGBrgb(98, 137, 22)
HSLhsl(80, 72%, 31%)
HSVhsv(80, 84%, 54%)
CMYKcmyk(28.5%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.45, -30.18, 51.64)
CIE-LCHlch(52.45, 59.81, 120.30°)
OKLaboklab(57.99% -0.0871 0.1129)
OKLCHoklch(57.99% 0.143 127.7)
XYZxyz(14.1275, 20.5456, 3.9803)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628916 #3D1689
analogous
#897616 #628916 #288916
triadic
#628916 #166289 #891662
tetradic
#628916 #168976 #3D1689 #891628
square
#628916 #168976 #3D1689 #891628
split-complementary
#628916 #162889 #761689
monochromatic
#172005 #3C540E #628916 #88BE1E #A7DF3A

Accessibility & contrast

On white

4.11
#628916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#628916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628916
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628916#FFFFFF#000000##000000
##6289161.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#668274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628916;
/* rgb */ color: rgb(98, 137, 22);
/* oklch */ color: oklch(58.0% 0.143 127.7);
Tailwind
colors: {
  custom: {
    50: '#93ab5f',
    500: '#628916',
    950: '#000000',
  },
}
SCSS
$custom: #628916;
$custom-light: #93ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#628916",
  "rgb": {
    "r": 98,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 80.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.14257,
    "h": 127.7
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#628916
secondary
#693EBD
accent
#39EF77
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #628916

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

Preview Lab → · Contrast checker → · Palette generator →

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