#678D16#678D16

#678D16 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#678D16
RGBrgb(103, 141, 22)
HSLhsl(79, 73%, 32%)
HSVhsv(79, 84%, 55%)
CMYKcmyk(27%, 0%, 84.4%, 44.7%)
CIE-LABlab(54.02, -30.03, 53.15)
CIE-LCHlch(54.02, 61.04, 119.46°)
OKLaboklab(59.35% -0.087 0.1159)
OKLCHoklch(59.35% 0.145 126.9)
XYZxyz(15.2633, 21.9909, 4.1994)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D16 #3C168D
analogous
#8D7816 #678D16 #2B8D16
triadic
#678D16 #16678D #8D1667
tetradic
#678D16 #168D78 #3C168D #8D162B
square
#678D16 #168D78 #3C168D #8D162B
split-complementary
#678D16 #162B8D #78168D
monochromatic
#1A2305 #40580E #678D16 #8EC21E #ACE13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678D16#FFFFFF#000000##000000
##678D161.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)
#908024
Tritanopia (blue-blind)
#6B8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d16;
/* rgb */ color: rgb(103, 141, 22);
/* oklch */ color: oklch(59.3% 0.145 126.9);
Tailwind
colors: {
  custom: {
    50: '#96ae60',
    500: '#678d16',
    950: '#000000',
  },
}
SCSS
$custom: #678d16;
$custom-light: #96ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#678d16",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 79.16,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.14494,
    "h": 126.9
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#678D16
secondary
#683EC1
accent
#38F073
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678D16

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

Preview Lab → · Contrast checker → · Palette generator →

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