#678418#678418

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

Color values

HEX#678418
RGBrgb(103, 132, 24)
HSLhsl(76, 69%, 31%)
HSVhsv(76, 82%, 52%)
CMYKcmyk(22%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.21, -25.59, 50.07)
CIE-LCHlch(51.21, 56.22, 117.07°)
OKLaboklab(57.07% -0.0748 0.1097)
OKLCHoklch(57.07% 0.133 124.3)
XYZxyz(14.0098, 19.4519, 3.8805)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678418 #351884
analogous
#846B18 #678418 #318418
triadic
#678418 #186784 #841867
tetradic
#678418 #18846B #351884 #841831
square
#678418 #18846B #351884 #841831
split-complementary
#678418 #183184 #6B1884
monochromatic
#161C05 #3F500F #678418 #8FB821 #B0DB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678418#FFFFFF#000000##000000
##6784181.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: #678418;
/* rgb */ color: rgb(103, 132, 24);
/* oklch */ color: oklch(57.1% 0.133 124.3);
Tailwind
colors: {
  custom: {
    50: '#96a760',
    500: '#678418',
    950: '#000000',
  },
}
SCSS
$custom: #678418;
$custom-light: #96a760;
$custom-dark: #000000;
JSON
{
  "hex": "#678418",
  "rgb": {
    "r": 103,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 76.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.13279,
    "h": 124.3
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#678418
secondary
#6040B8
accent
#3CEC6B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678418

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

Preview Lab → · Contrast checker → · Palette generator →

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