#628C1D#628C1D

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

Color values

HEX#628C1D
RGBrgb(98, 140, 29)
HSLhsl(83, 66%, 33%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(30%, 0%, 79.3%, 45.1%)
CIE-LABlab(53.43, -31.26, 50.41)
CIE-LCHlch(53.43, 59.31, 121.81°)
OKLaboklab(58.8% -0.0896 0.1114)
OKLCHoklch(58.8% 0.143 128.8)
XYZxyz(14.6368, 21.4412, 4.5295)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C1D #471D8C
analogous
#8C7E1D #628C1D #2A8C1D
triadic
#628C1D #1D628C #8C1D62
tetradic
#628C1D #1D8C7E #471D8C #8C1D2A
square
#628C1D #1D8C7E #471D8C #8C1D2A
split-complementary
#628C1D #1D2A8C #7E1D8C
monochromatic
#1B2708 #3F5912 #628C1D #85BF28 #A3D94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C1D#FFFFFF#000000##000000
##628C1D1.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)
#938200
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c1d;
/* rgb */ color: rgb(98, 140, 29);
/* oklch */ color: oklch(58.8% 0.143 128.8);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#628c1d',
    950: '#000000',
  },
}
SCSS
$custom: #628c1d;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#628c1d",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 82.703,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.14295,
    "h": 128.8
  },
  "luminance": 0.21442
}

Semantic roles & 50–950 ramp

primary
#628C1D
secondary
#7449BC
accent
#3FE97F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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