#678417#678417

#678417 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.1% C 0.133 H 124.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#678417
RGBrgb(103, 132, 23)
HSLhsl(76, 70%, 30%)
HSVhsv(76, 83%, 52%)
CMYKcmyk(22%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.21, -25.63, 50.36)
CIE-LCHlch(51.21, 56.51, 116.97°)
OKLaboklab(57.07% -0.075 0.1102)
OKLCHoklch(57.07% 0.133 124.2)
XYZxyz(13.9996, 19.4478, 3.8267)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678417 #341784
analogous
#846A17 #678417 #318417
triadic
#678417 #176784 #841767
tetradic
#678417 #17846A #341784 #841731
square
#678417 #17846A #341784 #841731
split-complementary
#678417 #173184 #6A1784
monochromatic
#161C05 #3E500E #678417 #90B820 #B1DC39

Accessibility & contrast

On white

4.29
#678417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#678417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678417
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678417#FFFFFF#000000##000000
##6784171.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#6C7D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #678417;
/* rgb */ color: rgb(103, 132, 23);
/* oklch */ color: oklch(57.1% 0.133 124.2);
Tailwind
colors: {
  custom: {
    50: '#96a75f',
    500: '#678417',
    950: '#000000',
  },
}
SCSS
$custom: #678417;
$custom-light: #96a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#678417",
  "rgb": {
    "r": 103,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 75.963,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.13328,
    "h": 124.2
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#678417
secondary
#5F3FB8
accent
#3BED6A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678417

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

Preview Lab → · Contrast checker → · Palette generator →

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