#678D18#678D18

#678D18 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.144 H 127.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#678D18
RGBrgb(103, 141, 24)
HSLhsl(79, 71%, 32%)
HSVhsv(79, 83%, 55%)
CMYKcmyk(27%, 0%, 83%, 44.7%)
CIE-LABlab(54.03, -29.94, 52.60)
CIE-LCHlch(54.03, 60.53, 119.65°)
OKLaboklab(59.36% -0.0866 0.1151)
OKLCHoklch(59.36% 0.144 127)
XYZxyz(15.2833, 21.9990, 4.3050)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D18 #3E188D
analogous
#8D7818 #678D18 #2D8D18
triadic
#678D18 #18678D #8D1867
tetradic
#678D18 #188D78 #3E188D #8D182D
square
#678D18 #188D78 #3E188D #8D182D
split-complementary
#678D18 #182D8D #78188D
monochromatic
#1B2406 #41590F #678D18 #8DC121 #ABDF41

Accessibility & contrast

On white

3.89
#678D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#678D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D18
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D18#FFFFFF#000000##000000
##678D181.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908025
Tritanopia (blue-blind)
#6B8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d18;
/* rgb */ color: rgb(103, 141, 24);
/* oklch */ color: oklch(59.4% 0.144 127.0);
Tailwind
colors: {
  custom: {
    50: '#96ae61',
    500: '#678d18',
    950: '#000000',
  },
}
SCSS
$custom: #678d18;
$custom-light: #96ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#678d18",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 79.487,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.14405,
    "h": 127
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#678D18
secondary
#6A42BF
accent
#3AEE74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678D18

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

Preview Lab → · Contrast checker → · Palette generator →

#678D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva