#678A16#678A16

#678A16 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.141 H 126.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#678A16
RGBrgb(103, 138, 22)
HSLhsl(78, 73%, 31%)
HSVhsv(78, 84%, 54%)
CMYKcmyk(25.4%, 0%, 84.1%, 45.9%)
CIE-LABlab(53.08, -28.59, 52.32)
CIE-LCHlch(53.08, 59.62, 118.66°)
OKLaboklab(58.59% -0.0831 0.1142)
OKLCHoklch(58.59% 0.141 126.1)
XYZxyz(14.8269, 21.1182, 4.0540)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A16 #39168A
analogous
#8A7316 #678A16 #2D8A16
triadic
#678A16 #16678A #8A1667
tetradic
#678A16 #168A73 #39168A #8A162D
square
#678A16 #168A73 #39168A #8A162D
split-complementary
#678A16 #162D8A #73168A
monochromatic
#182005 #40550E #678A16 #8EBF1E #AEE03B

Accessibility & contrast

On white

4.02
#678A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#678A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A16#FFFFFF#000000##000000
##678A161.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#6C8375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a16;
/* rgb */ color: rgb(103, 138, 22);
/* oklch */ color: oklch(58.6% 0.141 126.1);
Tailwind
colors: {
  custom: {
    50: '#96ac60',
    500: '#678a16',
    950: '#000000',
  },
}
SCSS
$custom: #678a16;
$custom-light: #96ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#678a16",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 78.103,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.14121,
    "h": 126.1
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#678A16
secondary
#653EBE
accent
#39EF70
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #678A16

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

Preview Lab → · Contrast checker → · Palette generator →

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