#678D40#678D40

#678D40 is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.114 H 130.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#678D40
RGBrgb(103, 141, 64)
HSLhsl(90, 38%, 40%)
HSVhsv(90, 55%, 55%)
CMYKcmyk(27%, 0%, 54.6%, 44.7%)
CIE-LABlab(54.35, -26.89, 36.46)
CIE-LCHlch(54.35, 45.30, 126.42°)
OKLaboklab(59.72% -0.0749 0.0864)
OKLCHoklch(59.72% 0.114 130.9)
XYZxyz(16.0436, 22.3031, 8.3091)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D40 #66408D
analogous
#8D8C40 #678D40 #418D40
triadic
#678D40 #40678D #8D4067
tetradic
#678D40 #408D8C #66408D #8D4041
square
#678D40 #408D8C #66408D #8D4041
split-complementary
#678D40 #40418D #8C408D
monochromatic
#2A391A #48632D #678D40 #86B357 #A4C681

Accessibility & contrast

On white

3.85
#678D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#678D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D40
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D40#FFFFFF#000000##000000
##678D401.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#8D8145
Tritanopia (blue-blind)
#69887C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678d40;
/* rgb */ color: rgb(103, 141, 64);
/* oklch */ color: oklch(59.7% 0.114 130.9);
Tailwind
colors: {
  custom: {
    50: '#94ae77',
    500: '#678d40',
    950: '#000000',
  },
}
SCSS
$custom: #678d40;
$custom-light: #94ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#678d40",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 89.61,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.11435,
    "h": 130.9
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#678D40
secondary
#9478B0
accent
#5ACE93
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #678D40

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

Preview Lab → · Contrast checker → · Palette generator →

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