#678C2F#678C2F

#678C2F is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.3% C 0.128 H 128.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#678C2F
RGBrgb(103, 140, 47)
HSLhsl(84, 50%, 37%)
HSVhsv(84, 66%, 55%)
CMYKcmyk(26.4%, 0%, 66.4%, 45.1%)
CIE-LABlab(53.86, -28.05, 43.97)
CIE-LCHlch(53.86, 52.15, 122.53°)
OKLaboklab(59.27% -0.0796 0.1006)
OKLCHoklch(59.27% 0.128 128.3)
XYZxyz(15.4847, 21.8446, 6.0894)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C2F #542F8C
analogous
#8C832F #678C2F #398C2F
triadic
#678C2F #2F678C #8C2F67
tetradic
#678C2F #2F8C83 #542F8C #8C2F39
square
#678C2F #2F8C83 #542F8C #8C2F39
split-complementary
#678C2F #2F398C #832F8C
monochromatic
#243010 #455E20 #678C2F #89BA3E #A5CD69

Accessibility & contrast

On white

3.91
#678C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#678C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678C2F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678C2F#FFFFFF#000000##000000
##678C2F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#6A8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678c2f;
/* rgb */ color: rgb(103, 140, 47);
/* oklch */ color: oklch(59.3% 0.128 128.3);
Tailwind
colors: {
  custom: {
    50: '#95ad6c',
    500: '#678c2f',
    950: '#000000',
  },
}
SCSS
$custom: #678c2f;
$custom-light: #95ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#678c2f",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 83.871,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.12826,
    "h": 128.3
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#678C2F
secondary
#8363B4
accent
#4FD986
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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