#628516#628516

#628516 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.138 H 126.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#628516
RGBrgb(98, 133, 22)
HSLhsl(79, 72%, 30%)
HSVhsv(79, 83%, 52%)
CMYKcmyk(26.3%, 0%, 83.5%, 47.8%)
CIE-LABlab(51.19, -28.27, 50.51)
CIE-LCHlch(51.19, 57.89, 119.24°)
OKLaboklab(56.96% -0.0819 0.1105)
OKLCHoklch(56.96% 0.138 126.6)
XYZxyz(13.5694, 19.4294, 3.7942)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628516 #391685
analogous
#857016 #628516 #2A8516
triadic
#628516 #166285 #851662
tetradic
#628516 #168570 #391685 #85162A
square
#628516 #168570 #391685 #85162A
split-complementary
#628516 #162A85 #701685
monochromatic
#151C05 #3B500D #628516 #89BA1F #A9DE37

Accessibility & contrast

On white

4.30
#628516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#628516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628516
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628516#FFFFFF#000000##000000
##6285161.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628516;
/* rgb */ color: rgb(98, 133, 22);
/* oklch */ color: oklch(57.0% 0.138 126.6);
Tailwind
colors: {
  custom: {
    50: '#92a85f',
    500: '#628516',
    950: '#000000',
  },
}
SCSS
$custom: #628516;
$custom-light: #92a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#628516",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 78.919,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.13755,
    "h": 126.6
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#628516
secondary
#653EB9
accent
#39EE72
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628516

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

Preview Lab → · Contrast checker → · Palette generator →

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