#678918#678918

#678918 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.139 H 125.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#678918
RGBrgb(103, 137, 24)
HSLhsl(78, 70%, 32%)
HSVhsv(78, 82%, 54%)
CMYKcmyk(24.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(52.77, -28.03, 51.48)
CIE-LCHlch(52.77, 58.61, 118.57°)
OKLaboklab(58.34% -0.0815 0.1127)
OKLCHoklch(58.34% 0.139 125.9)
XYZxyz(14.7042, 20.8406, 4.1119)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678918 #3A1889
analogous
#897318 #678918 #2F8918
triadic
#678918 #186789 #891867
tetradic
#678918 #188973 #3A1889 #89182F
square
#678918 #188973 #3A1889 #89182F
split-complementary
#678918 #182F89 #731889
monochromatic
#192106 #40550F #678918 #8EBD21 #ADDD3E

Accessibility & contrast

On white

4.06
#678918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#678918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678918
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678918#FFFFFF#000000##000000
##6789181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#6C8275
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #678918;
/* rgb */ color: rgb(103, 137, 24);
/* oklch */ color: oklch(58.3% 0.139 125.9);
Tailwind
colors: {
  custom: {
    50: '#96ab60',
    500: '#678918',
    950: '#000000',
  },
}
SCSS
$custom: #678918;
$custom-light: #96ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#678918",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 78.053,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.13906,
    "h": 125.9
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#678918
secondary
#6640BD
accent
#3BED70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678918

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

Preview Lab → · Contrast checker → · Palette generator →

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