#628E19#628E19

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

Color values

HEX#628E19
RGBrgb(98, 142, 25)
HSLhsl(83, 70%, 33%)
HSVhsv(83, 82%, 56%)
CMYKcmyk(31%, 0%, 82.4%, 44.3%)
CIE-LABlab(54.04, -32.39, 52.21)
CIE-LCHlch(54.04, 61.44, 121.81°)
OKLaboklab(59.29% -0.0929 0.1146)
OKLCHoklch(59.29% 0.147 129)
XYZxyz(14.8855, 22.0124, 4.3841)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E19 #45198E
analogous
#8E7F19 #628E19 #288E19
triadic
#628E19 #19628E #8E1962
tetradic
#628E19 #198E7F #45198E #8E1928
square
#628E19 #198E7F #45198E #8E1928
split-complementary
#628E19 #19288E #7F198E
monochromatic
#1A2607 #3E5A10 #628E19 #86C222 #A4DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628E19#FFFFFF#000000##000000
##628E191.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)
#8F8026
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e19;
/* rgb */ color: rgb(98, 142, 25);
/* oklch */ color: oklch(59.3% 0.147 129.0);
Tailwind
colors: {
  custom: {
    50: '#93af61',
    500: '#628e19',
    950: '#000000',
  },
}
SCSS
$custom: #628e19;
$custom-light: #93af61;
$custom-dark: #000000;
JSON
{
  "hex": "#628e19",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 82.564,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59289,
    "c": 0.14748,
    "h": 129
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#628E19
secondary
#7244BF
accent
#3BED7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #628E19

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

Preview Lab → · Contrast checker → · Palette generator →

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