#678517#678517

#678517 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.135 H 124.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#678517
RGBrgb(103, 133, 23)
HSLhsl(76, 71%, 31%)
HSVhsv(76, 83%, 52%)
CMYKcmyk(22.6%, 0%, 82.7%, 47.8%)
CIE-LABlab(51.52, -26.12, 50.64)
CIE-LCHlch(51.52, 56.98, 117.29°)
OKLaboklab(57.32% -0.0763 0.1108)
OKLCHoklch(57.32% 0.135 124.6)
XYZxyz(14.1359, 19.7203, 3.8721)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678517 #351785
analogous
#856C17 #678517 #308517
triadic
#678517 #176785 #851767
tetradic
#678517 #17856C #351785 #851730
square
#678517 #17856C #351785 #851730
split-complementary
#678517 #173085 #6C1785
monochromatic
#161D05 #3F510E #678517 #8FB920 #B0DD3A

Accessibility & contrast

On white

4.25
#678517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#678517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678517
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678517#FFFFFF#000000##000000
##6785171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#6C7E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #678517;
/* rgb */ color: rgb(103, 133, 23);
/* oklch */ color: oklch(57.3% 0.135 124.6);
Tailwind
colors: {
  custom: {
    50: '#96a85f',
    500: '#678517',
    950: '#000000',
  },
}
SCSS
$custom: #678517;
$custom-light: #96a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#678517",
  "rgb": {
    "r": 103,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 76.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.13453,
    "h": 124.6
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#678517
secondary
#603FB9
accent
#3BED6B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678517

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

Preview Lab → · Contrast checker → · Palette generator →

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