#678D17#678D17

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

Color values

HEX#678D17
RGBrgb(103, 141, 23)
HSLhsl(79, 72%, 32%)
HSVhsv(79, 84%, 55%)
CMYKcmyk(27%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.02, -29.99, 52.88)
CIE-LCHlch(54.02, 60.79, 119.56°)
OKLaboklab(59.35% -0.0868 0.1155)
OKLCHoklch(59.35% 0.145 126.9)
XYZxyz(15.2731, 21.9949, 4.2512)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D17 #3D178D
analogous
#8D7817 #678D17 #2C8D17
triadic
#678D17 #17678D #8D1767
tetradic
#678D17 #178D78 #3D178D #8D172C
square
#678D17 #178D78 #3D178D #8D172C
split-complementary
#678D17 #172C8D #78178D
monochromatic
#1A2406 #41580E #678D17 #8DC220 #ACE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678D17#FFFFFF#000000##000000
##678D171.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: #678d17;
/* rgb */ color: rgb(103, 141, 23);
/* oklch */ color: oklch(59.4% 0.145 126.9);
Tailwind
colors: {
  custom: {
    50: '#96ae61',
    500: '#678d17',
    950: '#000000',
  },
}
SCSS
$custom: #678d17;
$custom-light: #96ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#678d17",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 79.322,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.14451,
    "h": 126.9
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#678D17
secondary
#6940C0
accent
#39EF74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678D17

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

Preview Lab → · Contrast checker → · Palette generator →

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