#628D2A#628D2A

#628D2A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.136 H 130.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#628D2A
RGBrgb(98, 141, 42)
HSLhsl(86, 54%, 36%)
HSVhsv(86, 70%, 55%)
CMYKcmyk(30.5%, 0%, 70.2%, 44.7%)
CIE-LABlab(53.83, -30.90, 45.97)
CIE-LCHlch(53.83, 55.39, 123.91°)
OKLaboklab(59.15% -0.0875 0.1042)
OKLCHoklch(59.15% 0.136 130)
XYZxyz(14.9797, 21.8131, 5.6112)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D2A #552A8D
analogous
#8D862A #628D2A #308D2A
triadic
#628D2A #2A628D #8D2A62
tetradic
#628D2A #2A8D86 #552A8D #8D2A30
square
#628D2A #2A8D86 #552A8D #8D2A30
split-complementary
#628D2A #2A308D #862A8D
monochromatic
#202F0E #415E1C #628D2A #83BC38 #A0D061

Accessibility & contrast

On white

3.92
#628D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#628D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D2A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D2A#FFFFFF#000000##000000
##628D2A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#648779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d2a;
/* rgb */ color: rgb(98, 141, 42);
/* oklch */ color: oklch(59.2% 0.136 130.0);
Tailwind
colors: {
  custom: {
    50: '#92ae69',
    500: '#628d2a',
    950: '#000000',
  },
}
SCSS
$custom: #628d2a;
$custom-light: #92ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#628d2a",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 86.061,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.13607,
    "h": 130
  },
  "luminance": 0.21814
}

Semantic roles & 50–950 ramp

primary
#628D2A
secondary
#845DB6
accent
#4ADD8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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