#628F1C#628F1C

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

Color values

HEX#628F1C
RGBrgb(98, 143, 28)
HSLhsl(83, 67%, 34%)
HSVhsv(83, 80%, 56%)
CMYKcmyk(31.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(54.37, -32.70, 51.60)
CIE-LCHlch(54.37, 61.09, 122.37°)
OKLaboklab(59.56% -0.0935 0.1138)
OKLCHoklch(59.56% 0.147 129.4)
XYZxyz(15.0690, 22.3250, 4.6136)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F1C #491C8F
analogous
#8F821C #628F1C #298F1C
triadic
#628F1C #1C628F #8F1C62
tetradic
#628F1C #1C8F82 #491C8F #8F1C29
square
#628F1C #1C8F82 #491C8F #8F1C29
split-complementary
#628F1C #1C298F #821C8F
monochromatic
#1C2908 #3F5C12 #628F1C #85C226 #A3DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628F1C#FFFFFF#000000##000000
##628F1C1.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)
#908128
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f1c;
/* rgb */ color: rgb(98, 143, 28);
/* oklch */ color: oklch(59.6% 0.147 129.4);
Tailwind
colors: {
  custom: {
    50: '#93b063',
    500: '#628f1c',
    950: '#000000',
  },
}
SCSS
$custom: #628f1c;
$custom-light: #93b063;
$custom-dark: #000000;
JSON
{
  "hex": "#628f1c",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 83.478,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.14729,
    "h": 129.4
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#628F1C
secondary
#7749BE
accent
#3EEA81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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