#678518#678518

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

Color values

HEX#678518
RGBrgb(103, 133, 24)
HSLhsl(77, 69%, 31%)
HSVhsv(77, 82%, 52%)
CMYKcmyk(22.6%, 0%, 82%, 47.8%)
CIE-LABlab(51.52, -26.08, 50.35)
CIE-LCHlch(51.52, 56.70, 117.38°)
OKLaboklab(57.33% -0.0762 0.1103)
OKLCHoklch(57.33% 0.134 124.6)
XYZxyz(14.1461, 19.7244, 3.9259)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678518 #361885
analogous
#856C18 #678518 #308518
triadic
#678518 #186785 #851867
tetradic
#678518 #18856C #361885 #851830
square
#678518 #18856C #361885 #851830
split-complementary
#678518 #183085 #6C1885
monochromatic
#171D05 #3F510F #678518 #8FB921 #B0DC3C

Accessibility & contrast

On white

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

On black

4.95
#678518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678518
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678518#FFFFFF#000000##000000
##6785181.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678518;
/* rgb */ color: rgb(103, 133, 24);
/* oklch */ color: oklch(57.3% 0.134 124.6);
Tailwind
colors: {
  custom: {
    50: '#96a860',
    500: '#678518',
    950: '#000000',
  },
}
SCSS
$custom: #678518;
$custom-light: #96a860;
$custom-dark: #000000;
JSON
{
  "hex": "#678518",
  "rgb": {
    "r": 103,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 76.514,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.13405,
    "h": 124.6
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#678518
secondary
#6140B9
accent
#3CEC6C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678518

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

Preview Lab → · Contrast checker → · Palette generator →

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