#678C28#678C28

#678C28 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.134 H 127.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#678C28
RGBrgb(103, 140, 40)
HSLhsl(82, 56%, 35%)
HSVhsv(82, 71%, 55%)
CMYKcmyk(26.4%, 0%, 71.4%, 45.1%)
CIE-LABlab(53.81, -28.57, 46.85)
CIE-LCHlch(53.81, 54.88, 121.38°)
OKLaboklab(59.21% -0.0817 0.1056)
OKLCHoklch(59.21% 0.134 127.7)
XYZxyz(15.3546, 21.7926, 5.4045)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C28 #4D288C
analogous
#8C7F28 #678C28 #358C28
triadic
#678C28 #28678C #8C2867
tetradic
#678C28 #288C7F #4D288C #8C2835
square
#678C28 #288C7F #4D288C #8C2835
split-complementary
#678C28 #28358C #7F288C
monochromatic
#212D0D #445C1A #678C28 #8ABC36 #A6D15E

Accessibility & contrast

On white

3.92
#678C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#678C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678C28
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678C28#FFFFFF#000000##000000
##678C281.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#6B8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678c28;
/* rgb */ color: rgb(103, 140, 40);
/* oklch */ color: oklch(59.2% 0.134 127.7);
Tailwind
colors: {
  custom: {
    50: '#96ad68',
    500: '#678c28',
    950: '#000000',
  },
}
SCSS
$custom: #678c28;
$custom-light: #96ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#678c28",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 82.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13352,
    "h": 127.7
  },
  "luminance": 0.21793
}

Semantic roles & 50–950 ramp

primary
#678C28
secondary
#7C5AB6
accent
#49DF80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678C28

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

Preview Lab → · Contrast checker → · Palette generator →

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