#628418#628418

#628418 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.135 H 126.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#628418
RGBrgb(98, 132, 24)
HSLhsl(79, 69%, 31%)
HSVhsv(79, 82%, 52%)
CMYKcmyk(25.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(50.88, -27.70, 49.64)
CIE-LCHlch(50.88, 56.85, 119.16°)
OKLaboklab(56.72% -0.0803 0.109)
OKLCHoklch(56.72% 0.135 126.4)
XYZxyz(13.4532, 19.1649, 3.8544)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628418 #3A1884
analogous
#847018 #628418 #2C8418
triadic
#628418 #186284 #841862
tetradic
#628418 #188470 #3A1884 #84182C
square
#628418 #188470 #3A1884 #84182C
split-complementary
#628418 #182C84 #701884
monochromatic
#151C05 #3C500F #628418 #88B821 #A9DB3B

Accessibility & contrast

On white

4.35
#628418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#628418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628418
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628418#FFFFFF#000000##000000
##6284181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628418;
/* rgb */ color: rgb(98, 132, 24);
/* oklch */ color: oklch(56.7% 0.135 126.4);
Tailwind
colors: {
  custom: {
    50: '#92a860',
    500: '#628418',
    950: '#000000',
  },
}
SCSS
$custom: #628418;
$custom-light: #92a860;
$custom-dark: #000000;
JSON
{
  "hex": "#628418",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 78.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.13533,
    "h": 126.4
  },
  "luminance": 0.19165
}

Semantic roles & 50–950 ramp

primary
#628418
secondary
#6640B8
accent
#3CEC73
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628418

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

Preview Lab → · Contrast checker → · Palette generator →

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