#628E1A#628E1A

#628E1A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.147 H 129.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#628E1A
RGBrgb(98, 142, 26)
HSLhsl(83, 69%, 33%)
HSVhsv(83, 82%, 56%)
CMYKcmyk(31%, 0%, 81.7%, 44.3%)
CIE-LABlab(54.04, -32.34, 51.92)
CIE-LCHlch(54.04, 61.17, 121.92°)
OKLaboklab(59.29% -0.0927 0.1141)
OKLCHoklch(59.29% 0.147 129.1)
XYZxyz(14.8964, 22.0168, 4.4419)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E1A #461A8E
analogous
#8E801A #628E1A #288E1A
triadic
#628E1A #1A628E #8E1A62
tetradic
#628E1A #1A8E80 #461A8E #8E1A28
square
#628E1A #1A8E80 #461A8E #8E1A28
split-complementary
#628E1A #1A288E #801A8E
monochromatic
#1B2707 #3E5A11 #628E1A #86C223 #A3DD45

Accessibility & contrast

On white

3.89
#628E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#628E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E1A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E1A#FFFFFF#000000##000000
##628E1A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e1a;
/* rgb */ color: rgb(98, 142, 26);
/* oklch */ color: oklch(59.3% 0.147 129.1);
Tailwind
colors: {
  custom: {
    50: '#93af62',
    500: '#628e1a',
    950: '#000000',
  },
}
SCSS
$custom: #628e1a;
$custom-light: #93af62;
$custom-dark: #000000;
JSON
{
  "hex": "#628e1a",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 82.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.14701,
    "h": 129.1
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#628E1A
secondary
#7345BE
accent
#3CEC7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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