#678340#678340

#678340 is a mid, moderate yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.099 H 127.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#678340
RGBrgb(103, 131, 64)
HSLhsl(85, 34%, 38%)
HSVhsv(85, 51%, 51%)
CMYKcmyk(21.4%, 0%, 51.1%, 48.6%)
CIE-LABlab(51.25, -21.88, 32.75)
CIE-LCHlch(51.25, 39.39, 123.75°)
OKLaboklab(57.22% -0.061 0.0783)
OKLCHoklch(57.22% 0.099 127.9)
XYZxyz(14.6351, 19.4861, 7.8396)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678340 #5C4083
analogous
#837D40 #678340 #458340
triadic
#678340 #406783 #834067
tetradic
#678340 #40837D #5C4083 #834045
square
#678340 #40837D #5C4083 #834045
split-complementary
#678340 #404583 #7D4083
monochromatic
#263118 #475A2C #678340 #87AC54 #A4C07E

Accessibility & contrast

On white

4.29
#678340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#678340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678340
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678340#FFFFFF#000000##000000
##6783401.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#6A7E74
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #678340;
/* rgb */ color: rgb(103, 131, 64);
/* oklch */ color: oklch(57.2% 0.099 127.9);
Tailwind
colors: {
  custom: {
    50: '#94a776',
    500: '#678340',
    950: '#000000',
  },
}
SCSS
$custom: #678340;
$custom-light: #94a776;
$custom-dark: #000000;
JSON
{
  "hex": "#678340",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 85.075,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.09922,
    "h": 127.9
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#678340
secondary
#8B75AA
accent
#5DCA8B
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #678340

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

Preview Lab → · Contrast checker → · Palette generator →

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