#628018#628018

#628018 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.130 H 125.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#628018
RGBrgb(98, 128, 24)
HSLhsl(77, 68%, 30%)
HSVhsv(77, 81%, 50%)
CMYKcmyk(23.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(49.62, -25.74, 48.49)
CIE-LCHlch(49.62, 54.90, 117.96°)
OKLaboklab(55.69% -0.0749 0.1065)
OKLCHoklch(55.69% 0.13 125.1)
XYZxyz(12.9212, 18.1008, 3.6770)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628018 #361880
analogous
#806A18 #628018 #2E8018
triadic
#628018 #186280 #801862
tetradic
#628018 #18806A #361880 #80182E
square
#628018 #18806A #361880 #80182E
split-complementary
#628018 #182E80 #6A1880
monochromatic
#141A05 #3B4C0E #628018 #89B422 #ABDA39

Accessibility & contrast

On white

4.55
#628018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#628018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628018
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628018#FFFFFF#000000##000000
##6280181.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628018;
/* rgb */ color: rgb(98, 128, 24);
/* oklch */ color: oklch(55.7% 0.130 125.1);
Tailwind
colors: {
  custom: {
    50: '#92a55f',
    500: '#628018',
    950: '#000000',
  },
}
SCSS
$custom: #628018;
$custom-light: #92a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#628018",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 77.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.13025,
    "h": 125.1
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#628018
secondary
#6140B4
accent
#3DEB6F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628018

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

Preview Lab → · Contrast checker → · Palette generator →

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