#678D15#678D15

#678D15 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.145 H 126.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#678D15
RGBrgb(103, 141, 21)
HSLhsl(79, 74%, 32%)
HSVhsv(79, 85%, 55%)
CMYKcmyk(27%, 0%, 85.1%, 44.7%)
CIE-LABlab(54.01, -30.07, 53.41)
CIE-LCHlch(54.01, 61.29, 119.38°)
OKLaboklab(59.34% -0.0872 0.1163)
OKLCHoklch(59.34% 0.145 126.9)
XYZxyz(15.2538, 21.9872, 4.1496)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D15 #3B158D
analogous
#8D7715 #678D15 #2B8D15
triadic
#678D15 #15678D #8D1567
tetradic
#678D15 #158D77 #3B158D #8D152B
square
#678D15 #158D77 #3B158D #8D152B
split-complementary
#678D15 #152B8D #77158D
monochromatic
#192205 #40580D #678D15 #8EC21D #ADE23B

Accessibility & contrast

On white

3.89
#678D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#678D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D15
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D15#FFFFFF#000000##000000
##678D151.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908023
Tritanopia (blue-blind)
#6C8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d15;
/* rgb */ color: rgb(103, 141, 21);
/* oklch */ color: oklch(59.3% 0.145 126.9);
Tailwind
colors: {
  custom: {
    50: '#96ae60',
    500: '#678d15',
    950: '#000000',
  },
}
SCSS
$custom: #678d15;
$custom-light: #96ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#678d15",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 79,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.14535,
    "h": 126.9
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#678D15
secondary
#673DC1
accent
#37F172
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678D15

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

Preview Lab → · Contrast checker → · Palette generator →

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