#628218#628218

#628218 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.133 H 125.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#628218
RGBrgb(98, 130, 24)
HSLhsl(78, 69%, 30%)
HSVhsv(78, 82%, 51%)
CMYKcmyk(24.6%, 0%, 81.5%, 49%)
CIE-LABlab(50.25, -26.73, 49.06)
CIE-LCHlch(50.25, 55.87, 118.58°)
OKLaboklab(56.21% -0.0776 0.1078)
OKLCHoklch(56.21% 0.133 125.8)
XYZxyz(13.1846, 18.6277, 3.7649)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628218 #381882
analogous
#826D18 #628218 #2D8218
triadic
#628218 #186282 #821862
tetradic
#628218 #18826D #381882 #82182D
square
#628218 #18826D #381882 #82182D
split-complementary
#628218 #182D82 #6D1882
monochromatic
#141B05 #3B4E0E #628218 #89B622 #AADB3A

Accessibility & contrast

On white

4.44
#628218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#628218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628218
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628218#FFFFFF#000000##000000
##6282181.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#677B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628218;
/* rgb */ color: rgb(98, 130, 24);
/* oklch */ color: oklch(56.2% 0.133 125.8);
Tailwind
colors: {
  custom: {
    50: '#92a65f',
    500: '#628218',
    950: '#000000',
  },
}
SCSS
$custom: #628218;
$custom-light: #92a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#628218",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 78.113,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.1328,
    "h": 125.8
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#628218
secondary
#6340B6
accent
#3CEC71
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628218

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

Preview Lab → · Contrast checker → · Palette generator →

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