#628C25#628C25

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

Color values

HEX#628C25
RGBrgb(98, 140, 37)
HSLhsl(84, 58%, 35%)
HSVhsv(84, 74%, 55%)
CMYKcmyk(30%, 0%, 73.6%, 45.1%)
CIE-LABlab(53.48, -30.79, 47.60)
CIE-LCHlch(53.48, 56.69, 122.89°)
OKLaboklab(58.85% -0.0876 0.1068)
OKLCHoklch(58.85% 0.138 129.4)
XYZxyz(14.7490, 21.4860, 5.1200)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C25 #4F258C
analogous
#8C8325 #628C25 #2F8C25
triadic
#628C25 #25628C #8C2562
tetradic
#628C25 #258C83 #4F258C #8C252F
square
#628C25 #258C83 #4F258C #8C252F
split-complementary
#628C25 #252F8C #83258C
monochromatic
#1E2B0B #405C18 #628C25 #84BC32 #A1D358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C25#FFFFFF#000000##000000
##628C251.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)
#938213
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c25;
/* rgb */ color: rgb(98, 140, 37);
/* oklch */ color: oklch(58.9% 0.138 129.4);
Tailwind
colors: {
  custom: {
    50: '#92ae67',
    500: '#628c25',
    950: '#000000',
  },
}
SCSS
$custom: #628c25;
$custom-light: #92ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#628c25",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 84.466,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.13818,
    "h": 129.4
  },
  "luminance": 0.21486
}

Semantic roles & 50–950 ramp

primary
#628C25
secondary
#7D55B8
accent
#46E186
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628C25

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

Preview Lab → · Contrast checker → · Palette generator →

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