#628C2A#628C2A

#628C2A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.135 H 129.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#628C2A
RGBrgb(98, 140, 42)
HSLhsl(86, 54%, 36%)
HSVhsv(86, 70%, 55%)
CMYKcmyk(30%, 0%, 70%, 45.1%)
CIE-LABlab(53.51, -30.43, 45.64)
CIE-LCHlch(53.51, 54.86, 123.69°)
OKLaboklab(58.89% -0.0862 0.1035)
OKLCHoklch(58.89% 0.135 129.8)
XYZxyz(14.8329, 21.5196, 5.5622)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C2A #542A8C
analogous
#8C852A #628C2A #318C2A
triadic
#628C2A #2A628C #8C2A62
tetradic
#628C2A #2A8C85 #542A8C #8C2A31
square
#628C2A #2A8C85 #542A8C #8C2A31
split-complementary
#628C2A #2A318C #852A8C
monochromatic
#202E0E #415D1C #628C2A #83BB38 #A0D061

Accessibility & contrast

On white

3.96
#628C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#628C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C2A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C2A#FFFFFF#000000##000000
##628C2A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c2a;
/* rgb */ color: rgb(98, 140, 42);
/* oklch */ color: oklch(58.9% 0.135 129.8);
Tailwind
colors: {
  custom: {
    50: '#92ae69',
    500: '#628c2a',
    950: '#000000',
  },
}
SCSS
$custom: #628c2a;
$custom-light: #92ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#628c2a",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 85.714,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.13471,
    "h": 129.8
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#628C2A
secondary
#835CB5
accent
#4BDD89
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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