#678A40#678A40

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

Color values

HEX#678A40
RGBrgb(103, 138, 64)
HSLhsl(88, 37%, 40%)
HSVhsv(88, 54%, 54%)
CMYKcmyk(25.4%, 0%, 53.6%, 45.9%)
CIE-LABlab(53.42, -25.41, 35.35)
CIE-LCHlch(53.42, 43.54, 125.71°)
OKLaboklab(58.97% -0.0708 0.084)
OKLCHoklch(58.97% 0.11 130.1)
XYZxyz(15.6072, 21.4303, 8.1637)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A40 #63408A
analogous
#8A8840 #678A40 #428A40
triadic
#678A40 #40678A #8A4067
tetradic
#678A40 #408A88 #63408A #8A4042
square
#678A40 #408A88 #63408A #8A4042
split-complementary
#678A40 #40428A #88408A
monochromatic
#293619 #48602D #678A40 #86B156 #A4C480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A40#FFFFFF#000000##000000
##678A401.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)
#908139
Deuteranopia (green-blind)
#8B7F45
Tritanopia (blue-blind)
#698579
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678a40;
/* rgb */ color: rgb(103, 138, 64);
/* oklch */ color: oklch(59.0% 0.110 130.1);
Tailwind
colors: {
  custom: {
    50: '#94ac77',
    500: '#678a40',
    950: '#000000',
  },
}
SCSS
$custom: #678a40;
$custom-light: #94ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#678a40",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 88.378,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.10985,
    "h": 130.1
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#678A40
secondary
#9177AF
accent
#5BCD91
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #678A40

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

Preview Lab → · Contrast checker → · Palette generator →

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