#628C1A#628C1A

#628C1A is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.144 H 128.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#628C1A
RGBrgb(98, 140, 26)
HSLhsl(82, 69%, 33%)
HSVhsv(82, 81%, 55%)
CMYKcmyk(30%, 0%, 81.4%, 45.1%)
CIE-LABlab(53.41, -31.41, 51.34)
CIE-LCHlch(53.41, 60.19, 121.46°)
OKLaboklab(58.78% -0.0902 0.1129)
OKLCHoklch(58.78% 0.144 128.6)
XYZxyz(14.6015, 21.4270, 4.3436)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C1A #441A8C
analogous
#8C7D1A #628C1A #298C1A
triadic
#628C1A #1A628C #8C1A62
tetradic
#628C1A #1A8C7D #441A8C #8C1A29
square
#628C1A #1A8C7D #441A8C #8C1A29
split-complementary
#628C1A #1A298C #7D1A8C
monochromatic
#1A2507 #3E5810 #628C1A #86C024 #A4DC44

Accessibility & contrast

On white

3.97
#628C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#628C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C1A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C1A#FFFFFF#000000##000000
##628C1A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8D7F26
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c1a;
/* rgb */ color: rgb(98, 140, 26);
/* oklch */ color: oklch(58.8% 0.144 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ae62',
    500: '#628c1a',
    950: '#000000',
  },
}
SCSS
$custom: #628c1a;
$custom-light: #93ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#628c1a",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 82.105,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.14449,
    "h": 128.6
  },
  "luminance": 0.21427
}

Semantic roles & 50–950 ramp

primary
#628C1A
secondary
#7144BE
accent
#3CEC7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #628C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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