#628F1E#628F1E

#628F1E is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.146 H 129.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628F1E
RGBrgb(98, 143, 30)
HSLhsl(84, 65%, 34%)
HSVhsv(84, 79%, 56%)
CMYKcmyk(31.5%, 0%, 79%, 43.9%)
CIE-LABlab(54.38, -32.60, 50.97)
CIE-LCHlch(54.38, 60.50, 122.60°)
OKLaboklab(59.58% -0.0931 0.1128)
OKLCHoklch(59.58% 0.146 129.5)
XYZxyz(15.0938, 22.3349, 4.7439)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F1E #4B1E8F
analogous
#8F841E #628F1E #2A8F1E
triadic
#628F1E #1E628F #8F1E62
tetradic
#628F1E #1E8F84 #4B1E8F #8F1E2A
square
#628F1E #1E8F84 #4B1E8F #8F1E2A
split-complementary
#628F1E #1E2A8F #841E8F
monochromatic
#1D2A09 #3F5C13 #628F1E #85C229 #A2DA4E

Accessibility & contrast

On white

3.84
#628F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#628F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F1E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F1E#FFFFFF#000000##000000
##628F1E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f1e;
/* rgb */ color: rgb(98, 143, 30);
/* oklch */ color: oklch(59.6% 0.146 129.5);
Tailwind
colors: {
  custom: {
    50: '#93b064',
    500: '#628f1e',
    950: '#000000',
  },
}
SCSS
$custom: #628f1e;
$custom-light: #93b064;
$custom-dark: #000000;
JSON
{
  "hex": "#628f1e",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 83.894,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.14625,
    "h": 129.5
  },
  "luminance": 0.22335
}

Semantic roles & 50–950 ramp

primary
#628F1E
secondary
#794CBC
accent
#40E883
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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