#678940#678940

#678940 is a mid, moderate yellow-green. Relative luminance 0.211; OKLCH L 58.7% C 0.108 H 129.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#678940
RGBrgb(103, 137, 64)
HSLhsl(88, 36%, 39%)
HSVhsv(88, 53%, 54%)
CMYKcmyk(24.8%, 0%, 53.3%, 46.3%)
CIE-LABlab(53.11, -24.92, 34.98)
CIE-LCHlch(53.11, 42.95, 125.46°)
OKLaboklab(58.72% -0.0694 0.0832)
OKLCHoklch(58.72% 0.108 129.8)
XYZxyz(15.4644, 21.1447, 8.1161)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678940 #624089
analogous
#898740 #678940 #438940
triadic
#678940 #406789 #894067
tetradic
#678940 #408987 #624089 #894043
square
#678940 #408987 #624089 #894043
split-complementary
#678940 #404389 #874089
monochromatic
#283619 #485F2D #678940 #86B056 #A4C480

Accessibility & contrast

On white

4.02
#678940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#678940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678940
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678940#FFFFFF#000000##000000
##6789401.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8039
Deuteranopia (green-blind)
#8A7E45
Tritanopia (blue-blind)
#698478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678940;
/* rgb */ color: rgb(103, 137, 64);
/* oklch */ color: oklch(58.7% 0.108 129.8);
Tailwind
colors: {
  custom: {
    50: '#94ab77',
    500: '#678940',
    950: '#000000',
  },
}
SCSS
$custom: #678940;
$custom-light: #94ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#678940",
  "rgb": {
    "r": 103,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 87.945,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.10834,
    "h": 129.8
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#678940
secondary
#9177AE
accent
#5BCC90
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #678940

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

Preview Lab → · Contrast checker → · Palette generator →

#678940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva