#628618#628618

#628618 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.138 H 127.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#628618
RGBrgb(98, 134, 24)
HSLhsl(80, 70%, 31%)
HSVhsv(80, 82%, 53%)
CMYKcmyk(26.9%, 0%, 82.1%, 47.5%)
CIE-LABlab(51.51, -28.66, 50.21)
CIE-LCHlch(51.51, 57.82, 119.72°)
OKLaboklab(57.23% -0.0829 0.1102)
OKLCHoklch(57.23% 0.138 127)
XYZxyz(13.7270, 19.7125, 3.9457)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628618 #3C1886
analogous
#867318 #628618 #2B8618
triadic
#628618 #186286 #861862
tetradic
#628618 #188673 #3C1886 #86182B
square
#628618 #188673 #3C1886 #86182B
split-complementary
#628618 #182B86 #731886
monochromatic
#161E05 #3C520F #628618 #88BA21 #A8DC3C

Accessibility & contrast

On white

4.25
#628618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#628618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628618
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628618#FFFFFF#000000##000000
##6286181.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#667F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628618;
/* rgb */ color: rgb(98, 134, 24);
/* oklch */ color: oklch(57.2% 0.138 127.0);
Tailwind
colors: {
  custom: {
    50: '#92a960',
    500: '#628618',
    950: '#000000',
  },
}
SCSS
$custom: #628618;
$custom-light: #92a960;
$custom-dark: #000000;
JSON
{
  "hex": "#628618",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 79.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.13787,
    "h": 127
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#628618
secondary
#6840BA
accent
#3BEC75
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #628618

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

Preview Lab → · Contrast checker → · Palette generator →

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