#628C24#628C24

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

Color values

HEX#628C24
RGBrgb(98, 140, 36)
HSLhsl(84, 59%, 35%)
HSVhsv(84, 74%, 55%)
CMYKcmyk(30%, 0%, 74.3%, 45.1%)
CIE-LABlab(53.47, -30.85, 47.97)
CIE-LCHlch(53.47, 57.04, 122.74°)
OKLaboklab(58.85% -0.0879 0.1075)
OKLCHoklch(58.85% 0.139 129.3)
XYZxyz(14.7335, 21.4798, 5.0385)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C24 #4E248C
analogous
#8C8224 #628C24 #2E8C24
triadic
#628C24 #24628C #8C2462
tetradic
#628C24 #248C82 #4E248C #8C242E
square
#628C24 #248C82 #4E248C #8C242E
split-complementary
#628C24 #242E8C #82248C
monochromatic
#1E2B0B #405B17 #628C24 #84BD31 #A1D457

Accessibility & contrast

On white

3.97
#628C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C24#FFFFFF#000000##000000
##628C241.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c24;
/* rgb */ color: rgb(98, 140, 36);
/* oklch */ color: oklch(58.8% 0.139 129.3);
Tailwind
colors: {
  custom: {
    50: '#92ae66',
    500: '#628c24',
    950: '#000000',
  },
}
SCSS
$custom: #628c24;
$custom-light: #92ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#628c24",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 84.231,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.13883,
    "h": 129.3
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#628C24
secondary
#7C54B8
accent
#46E285
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C24

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

Preview Lab → · Contrast checker → · Palette generator →

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