#628D19#628D19

#628D19 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.146 H 128.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#628D19
RGBrgb(98, 141, 25)
HSLhsl(82, 70%, 33%)
HSVhsv(82, 82%, 55%)
CMYKcmyk(30.5%, 0%, 82.3%, 44.7%)
CIE-LABlab(53.72, -31.92, 51.92)
CIE-LCHlch(53.72, 60.95, 121.58°)
OKLaboklab(59.03% -0.0916 0.114)
OKLCHoklch(59.03% 0.146 128.8)
XYZxyz(14.7373, 21.7162, 4.3347)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D19 #44198D
analogous
#8D7E19 #628D19 #288D19
triadic
#628D19 #19628D #8D1962
tetradic
#628D19 #198D7E #44198D #8D1928
square
#628D19 #198D7E #44198D #8D1928
split-complementary
#628D19 #19288D #7E198D
monochromatic
#1A2507 #3E5910 #628D19 #86C122 #A4DE43

Accessibility & contrast

On white

3.93
#628D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#628D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D19
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D19#FFFFFF#000000##000000
##628D191.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d19;
/* rgb */ color: rgb(98, 141, 25);
/* oklch */ color: oklch(59.0% 0.146 128.8);
Tailwind
colors: {
  custom: {
    50: '#93ae61',
    500: '#628d19',
    950: '#000000',
  },
}
SCSS
$custom: #628d19;
$custom-light: #93ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#628d19",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 82.241,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.14623,
    "h": 128.8
  },
  "luminance": 0.21717
}

Semantic roles & 50–950 ramp

primary
#628D19
secondary
#7143BF
accent
#3BED7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #628D19

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

Preview Lab → · Contrast checker → · Palette generator →

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