#628E2E#628E2E

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

Color values

HEX#628E2E
RGBrgb(98, 142, 46)
HSLhsl(88, 51%, 37%)
HSVhsv(88, 68%, 56%)
CMYKcmyk(31%, 0%, 67.6%, 44.3%)
CIE-LABlab(54.17, -31.06, 44.64)
CIE-LCHlch(54.17, 54.39, 124.83°)
OKLaboklab(59.44% -0.0876 0.102)
OKLCHoklch(59.44% 0.134 130.7)
XYZxyz(15.2030, 22.1395, 6.0566)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E2E #5A2E8E
analogous
#8E8A2E #628E2E #328E2E
triadic
#628E2E #2E628E #8E2E62
tetradic
#628E2E #2E8E8A #5A2E8E #8E2E32
square
#628E2E #2E8E8A #5A2E8E #8E2E32
split-complementary
#628E2E #2E328E #8A2E8E
monochromatic
#223210 #42601F #628E2E #82BC3D #9FCE68

Accessibility & contrast

On white

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

On black

5.43
#628E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E2E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E2E#FFFFFF#000000##000000
##628E2E1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948421
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e2e;
/* rgb */ color: rgb(98, 142, 46);
/* oklch */ color: oklch(59.4% 0.134 130.7);
Tailwind
colors: {
  custom: {
    50: '#92af6c',
    500: '#628e2e',
    950: '#000000',
  },
}
SCSS
$custom: #628e2e;
$custom-light: #92af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#628e2e",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 87.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.13444,
    "h": 130.7
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#628E2E
secondary
#8863B5
accent
#4DDB8E
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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