#628E2A#628E2A

#628E2A is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.137 H 130.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628E2A
RGBrgb(98, 142, 42)
HSLhsl(86, 54%, 36%)
HSVhsv(86, 70%, 56%)
CMYKcmyk(31%, 0%, 70.4%, 44.3%)
CIE-LABlab(54.14, -31.37, 46.29)
CIE-LCHlch(54.14, 55.92, 124.13°)
OKLaboklab(59.41% -0.0888 0.1049)
OKLCHoklch(59.41% 0.137 130.3)
XYZxyz(15.1278, 22.1094, 5.6605)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E2A #562A8E
analogous
#8E882A #628E2A #308E2A
triadic
#628E2A #2A628E #8E2A62
tetradic
#628E2A #2A8E88 #562A8E #8E2A30
square
#628E2A #2A8E88 #562A8E #8E2A30
split-complementary
#628E2A #2A308E #882A8E
monochromatic
#21300E #415F1C #628E2A #83BD38 #A0D162

Accessibility & contrast

On white

3.87
#628E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E2A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E2A#FFFFFF#000000##000000
##628E2A1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e2a;
/* rgb */ color: rgb(98, 142, 42);
/* oklch */ color: oklch(59.4% 0.137 130.3);
Tailwind
colors: {
  custom: {
    50: '#92af6a',
    500: '#628e2a',
    950: '#000000',
  },
}
SCSS
$custom: #628e2a;
$custom-light: #92af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628e2a",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 86.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.13741,
    "h": 130.3
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

primary
#628E2A
secondary
#855DB6
accent
#4ADE8B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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