#678A42#678A42

#678A42 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.108 H 130.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#678A42
RGBrgb(103, 138, 66)
HSLhsl(89, 35%, 40%)
HSVhsv(89, 52%, 54%)
CMYKcmyk(25.4%, 0%, 52.2%, 45.9%)
CIE-LABlab(53.44, -25.18, 34.36)
CIE-LCHlch(53.44, 42.60, 126.24°)
OKLaboklab(59% -0.07 0.082)
OKLCHoklch(59% 0.108 130.5)
XYZxyz(15.6652, 21.4535, 8.4688)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A42 #65428A
analogous
#8A8942 #678A42 #438A42
triadic
#678A42 #42678A #8A4267
tetradic
#678A42 #428A89 #65428A #8A4243
square
#678A42 #428A89 #65428A #8A4243
split-complementary
#678A42 #42438A #89428A
monochromatic
#29371A #48612E #678A42 #86B059 #A4C483

Accessibility & contrast

On white

3.97
#678A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#678A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A42
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A42#FFFFFF#000000##000000
##678A421.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813C
Deuteranopia (green-blind)
#8A7F46
Tritanopia (blue-blind)
#69857A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678a42;
/* rgb */ color: rgb(103, 138, 66);
/* oklch */ color: oklch(59.0% 0.108 130.5);
Tailwind
colors: {
  custom: {
    50: '#94ac78',
    500: '#678a42',
    950: '#000000',
  },
}
SCSS
$custom: #678a42;
$custom-light: #94ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#678a42",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 89.167,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.10779,
    "h": 130.5
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#678A42
secondary
#9379AE
accent
#5CCB92
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #678A42

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

Preview Lab → · Contrast checker → · Palette generator →

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