#628E17#628E17

#628E17 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.148 H 128.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#628E17
RGBrgb(98, 142, 23)
HSLhsl(82, 72%, 32%)
HSVhsv(82, 84%, 56%)
CMYKcmyk(31%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.03, -32.47, 52.77)
CIE-LCHlch(54.03, 61.96, 121.61°)
OKLaboklab(59.28% -0.0932 0.1154)
OKLCHoklch(59.28% 0.148 128.9)
XYZxyz(14.8646, 22.0041, 4.2745)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E17 #43178E
analogous
#8E7F17 #628E17 #268E17
triadic
#628E17 #17628E #8E1762
tetradic
#628E17 #178E7F #43178E #8E1726
square
#628E17 #178E7F #43178E #8E1726
split-complementary
#628E17 #17268E #7F178E
monochromatic
#192506 #3E590E #628E17 #86C320 #A5E03F

Accessibility & contrast

On white

3.89
#628E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#628E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E17
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E17#FFFFFF#000000##000000
##628E171.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e17;
/* rgb */ color: rgb(98, 142, 23);
/* oklch */ color: oklch(59.3% 0.148 128.9);
Tailwind
colors: {
  custom: {
    50: '#93af61',
    500: '#628e17',
    950: '#000000',
  },
}
SCSS
$custom: #628e17;
$custom-light: #93af61;
$custom-dark: #000000;
JSON
{
  "hex": "#628e17",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 82.185,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.14839,
    "h": 128.9
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#628E17
secondary
#7040C0
accent
#39EF7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #628E17

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

Preview Lab → · Contrast checker → · Palette generator →

#628E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva