#628118#628118

#628118 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.132 H 125.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#628118
RGBrgb(98, 129, 24)
HSLhsl(78, 69%, 30%)
HSVhsv(78, 81%, 51%)
CMYKcmyk(24%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.93, -26.24, 48.78)
CIE-LCHlch(49.93, 55.39, 118.27°)
OKLaboklab(55.95% -0.0763 0.1071)
OKLCHoklch(55.95% 0.132 125.5)
XYZxyz(13.0522, 18.3630, 3.7207)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628118 #371881
analogous
#816B18 #628118 #2E8118
triadic
#628118 #186281 #811862
tetradic
#628118 #18816B #371881 #81182E
square
#628118 #18816B #371881 #81182E
split-complementary
#628118 #182E81 #6B1881
monochromatic
#141A05 #3B4D0E #628118 #89B522 #ABDA39

Accessibility & contrast

On white

4.49
#628118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#628118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628118
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628118#FFFFFF#000000##000000
##6281181.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#677A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628118;
/* rgb */ color: rgb(98, 129, 24);
/* oklch */ color: oklch(56.0% 0.132 125.5);
Tailwind
colors: {
  custom: {
    50: '#92a55f',
    500: '#628118',
    950: '#000000',
  },
}
SCSS
$custom: #628118;
$custom-light: #92a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#628118",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 77.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.13153,
    "h": 125.5
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#628118
secondary
#6240B5
accent
#3CEB70
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628118

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

Preview Lab → · Contrast checker → · Palette generator →

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