#628015#628015

#628015 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.132 H 125.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#628015
RGBrgb(98, 128, 21)
HSLhsl(77, 72%, 29%)
HSVhsv(77, 84%, 50%)
CMYKcmyk(23.4%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.60, -25.88, 49.39)
CIE-LCHlch(49.60, 55.76, 117.65°)
OKLaboklab(55.68% -0.0755 0.1079)
OKLCHoklch(55.68% 0.132 125)
XYZxyz(12.8917, 18.0890, 3.5217)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628015 #331580
analogous
#806915 #628015 #2D8015
triadic
#628015 #156280 #801562
tetradic
#628015 #158069 #331580 #80152D
square
#628015 #158069 #331580 #80152D
split-complementary
#628015 #152D80 #691580
monochromatic
#141A04 #3A4B0C #628015 #8AB51E #ADDD32

Accessibility & contrast

On white

4.55
#628015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#628015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628015
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628015#FFFFFF#000000##000000
##6280151.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628015;
/* rgb */ color: rgb(98, 128, 21);
/* oklch */ color: oklch(55.7% 0.132 125.0);
Tailwind
colors: {
  custom: {
    50: '#92a55e',
    500: '#628015',
    950: '#000000',
  },
}
SCSS
$custom: #628015;
$custom-light: #92a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#628015",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 76.822,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.13173,
    "h": 125
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#628015
secondary
#5E3CB5
accent
#39EF6C
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628015

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

Preview Lab → · Contrast checker → · Palette generator →

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