#628824#628824

#628824 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.134 H 128.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#628824
RGBrgb(98, 136, 36)
HSLhsl(83, 58%, 34%)
HSVhsv(83, 74%, 53%)
CMYKcmyk(27.9%, 0%, 73.5%, 46.7%)
CIE-LABlab(52.21, -28.95, 46.72)
CIE-LCHlch(52.21, 54.97, 121.79°)
OKLaboklab(57.82% -0.0827 0.1048)
OKLCHoklch(57.82% 0.134 128.3)
XYZxyz(14.1596, 20.3320, 4.8472)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628824 #4A2488
analogous
#887C24 #628824 #308824
triadic
#628824 #246288 #882462
tetradic
#628824 #24887C #4A2488 #882430
square
#628824 #24887C #4A2488 #882430
split-complementary
#628824 #243088 #7C2488
monochromatic
#1C270A #3F5817 #628824 #85B831 #A2D255

Accessibility & contrast

On white

4.14
#628824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#628824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628824
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628824#FFFFFF#000000##000000
##6288241.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#658274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628824;
/* rgb */ color: rgb(98, 136, 36);
/* oklch */ color: oklch(57.8% 0.134 128.3);
Tailwind
colors: {
  custom: {
    50: '#92ab66',
    500: '#628824',
    950: '#000000',
  },
}
SCSS
$custom: #628824;
$custom-light: #92ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#628824",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 82.8,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.13354,
    "h": 128.3
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#628824
secondary
#7852B6
accent
#46E181
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628824

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

Preview Lab → · Contrast checker → · Palette generator →

#628824 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva