#628D24#628D24

#628D24 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.140 H 129.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#628D24
RGBrgb(98, 141, 36)
HSLhsl(85, 59%, 35%)
HSVhsv(85, 74%, 55%)
CMYKcmyk(30.5%, 0%, 74.5%, 44.7%)
CIE-LABlab(53.79, -31.32, 48.29)
CIE-LCHlch(53.79, 57.55, 122.97°)
OKLaboklab(59.1% -0.0892 0.1081)
OKLCHoklch(59.1% 0.14 129.5)
XYZxyz(14.8803, 21.7734, 5.0874)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D24 #4F248D
analogous
#8D8324 #628D24 #2E8D24
triadic
#628D24 #24628D #8D2462
tetradic
#628D24 #248D83 #4F248D #8D242E
square
#628D24 #248D83 #4F248D #8D242E
split-complementary
#628D24 #242E8D #83248D
monochromatic
#1E2B0B #405C18 #628D24 #84BE30 #A1D457

Accessibility & contrast

On white

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

On black

5.35
#628D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D24
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D24#FFFFFF#000000##000000
##628D241.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948310
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d24;
/* rgb */ color: rgb(98, 141, 36);
/* oklch */ color: oklch(59.1% 0.140 129.5);
Tailwind
colors: {
  custom: {
    50: '#92ae66',
    500: '#628d24',
    950: '#000000',
  },
}
SCSS
$custom: #628d24;
$custom-light: #92ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#628d24",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 84.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.14014,
    "h": 129.5
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#628D24
secondary
#7D54B8
accent
#45E386
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D24

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

Preview Lab → · Contrast checker → · Palette generator →

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