#628316#628316

#628316 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.135 H 126.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#628316
RGBrgb(98, 131, 22)
HSLhsl(78, 71%, 30%)
HSVhsv(78, 83%, 51%)
CMYKcmyk(25.2%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.55, -27.30, 49.95)
CIE-LCHlch(50.55, 56.92, 118.66°)
OKLaboklab(56.45% -0.0793 0.1093)
OKLCHoklch(56.45% 0.135 126)
XYZxyz(13.2982, 18.8870, 3.7038)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628316 #371683
analogous
#836D16 #628316 #2C8316
triadic
#628316 #166283 #831662
tetradic
#628316 #16836D #371683 #83162C
square
#628316 #16836D #371683 #83162C
split-complementary
#628316 #162C83 #6D1683
monochromatic
#141A04 #3B4F0D #628316 #89B71F #ABDD36

Accessibility & contrast

On white

4.40
#628316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#628316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628316
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628316#FFFFFF#000000##000000
##6283161.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#677C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628316;
/* rgb */ color: rgb(98, 131, 22);
/* oklch */ color: oklch(56.5% 0.135 126.0);
Tailwind
colors: {
  custom: {
    50: '#92a75f',
    500: '#628316',
    950: '#000000',
  },
}
SCSS
$custom: #628316;
$custom-light: #92a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#628316",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 78.165,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.13503,
    "h": 126
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#628316
secondary
#623DB7
accent
#3AEE70
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628316

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

Preview Lab → · Contrast checker → · Palette generator →

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