#678F17#678F17

#678F17 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.147 H 127.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#678F17
RGBrgb(103, 143, 23)
HSLhsl(80, 72%, 33%)
HSVhsv(80, 84%, 56%)
CMYKcmyk(28%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.65, -30.93, 53.43)
CIE-LCHlch(54.65, 61.74, 120.06°)
OKLaboklab(59.86% -0.0894 0.1167)
OKLCHoklch(59.86% 0.147 127.5)
XYZxyz(15.5707, 22.5900, 4.3504)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F17 #3F178F
analogous
#8F7B17 #678F17 #2B8F17
triadic
#678F17 #17678F #8F1767
tetradic
#678F17 #178F7B #3F178F #8F172B
square
#678F17 #178F7B #3F178F #8F172B
split-complementary
#678F17 #172B8F #7B178F
monochromatic
#1B2606 #415A0F #678F17 #8DC41F #ABE040

Accessibility & contrast

On white

3.81
#678F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#678F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F17
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F17#FFFFFF#000000##000000
##678F171.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f17;
/* rgb */ color: rgb(103, 143, 23);
/* oklch */ color: oklch(59.9% 0.147 127.5);
Tailwind
colors: {
  custom: {
    50: '#97b061',
    500: '#678f17',
    950: '#000000',
  },
}
SCSS
$custom: #678f17;
$custom-light: #97b061;
$custom-dark: #000000;
JSON
{
  "hex": "#678f17",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.14699,
    "h": 127.5
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

primary
#678F17
secondary
#6C41C1
accent
#39EF76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678F17

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

Preview Lab → · Contrast checker → · Palette generator →

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