#678740#678740

#678740 is a mid, moderate yellow-green. Relative luminance 0.206; OKLCH L 58.2% C 0.105 H 129.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#678740
RGBrgb(103, 135, 64)
HSLhsl(87, 36%, 39%)
HSVhsv(87, 53%, 53%)
CMYKcmyk(23.7%, 0%, 52.6%, 47.1%)
CIE-LABlab(52.49, -23.91, 34.24)
CIE-LCHlch(52.49, 41.76, 124.93°)
OKLaboklab(58.22% -0.0666 0.0816)
OKLCHoklch(58.22% 0.105 129.2)
XYZxyz(15.1828, 20.5814, 8.0222)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678740 #604087
analogous
#878440 #678740 #448740
triadic
#678740 #406787 #874067
tetradic
#678740 #408784 #604087 #874044
square
#678740 #408784 #604087 #874044
split-complementary
#678740 #404487 #844087
monochromatic
#283419 #475D2C #678740 #86AF56 #A4C27F

Accessibility & contrast

On white

4.10
#678740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#678740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678740
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678740#FFFFFF#000000##000000
##6787401.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3A
Deuteranopia (green-blind)
#887D44
Tritanopia (blue-blind)
#698277
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #678740;
/* rgb */ color: rgb(103, 135, 64);
/* oklch */ color: oklch(58.2% 0.105 129.2);
Tailwind
colors: {
  custom: {
    50: '#94aa77',
    500: '#678740',
    950: '#000000',
  },
}
SCSS
$custom: #678740;
$custom-light: #94aa77;
$custom-dark: #000000;
JSON
{
  "hex": "#678740",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 87.042,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.10532,
    "h": 129.2
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#678740
secondary
#8F76AD
accent
#5CCC8E
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0D1009
muted
#7E7F7B

Preview Lab

Preview with #678740

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

Preview Lab → · Contrast checker → · Palette generator →

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