#628C1E#628C1E

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

Color values

HEX#628C1E
RGBrgb(98, 140, 30)
HSLhsl(83, 65%, 33%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(30%, 0%, 78.6%, 45.1%)
CIE-LABlab(53.43, -31.21, 50.08)
CIE-LCHlch(53.43, 59.01, 121.93°)
OKLaboklab(58.8% -0.0893 0.1109)
OKLCHoklch(58.8% 0.142 128.9)
XYZxyz(14.6494, 21.4462, 4.5957)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C1E #481E8C
analogous
#8C7F1E #628C1E #2B8C1E
triadic
#628C1E #1E628C #8C1E62
tetradic
#628C1E #1E8C7F #481E8C #8C1E2B
square
#628C1E #1E8C7F #481E8C #8C1E2B
split-complementary
#628C1E #1E2B8C #7F1E8C
monochromatic
#1B2708 #3F5A13 #628C1E #85BE29 #A3D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #628c1e;
/* rgb */ color: rgb(98, 140, 30);
/* oklch */ color: oklch(58.8% 0.142 128.9);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#628c1e',
    950: '#000000',
  },
}
SCSS
$custom: #628c1e;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#628c1e",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 82.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.14241,
    "h": 128.9
  },
  "luminance": 0.21447
}

Semantic roles & 50–950 ramp

primary
#628C1E
secondary
#764BBB
accent
#40E880
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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