#678B27#678B27

#678B27 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.133 H 127.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#678B27
RGBrgb(103, 139, 39)
HSLhsl(82, 56%, 35%)
HSVhsv(82, 72%, 55%)
CMYKcmyk(25.9%, 0%, 71.9%, 45.5%)
CIE-LABlab(53.49, -28.16, 46.93)
CIE-LCHlch(53.49, 54.73, 120.97°)
OKLaboklab(58.95% -0.0806 0.1056)
OKLCHoklch(58.95% 0.133 127.3)
XYZxyz(15.1924, 21.4950, 5.2676)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678B27 #4B278B
analogous
#8B7D27 #678B27 #358B27
triadic
#678B27 #27678B #8B2767
tetradic
#678B27 #278B7D #4B278B #8B2735
square
#678B27 #278B7D #4B278B #8B2735
split-complementary
#678B27 #27358B #7D278B
monochromatic
#202B0C #445B1A #678B27 #8ABB34 #A7D15B

Accessibility & contrast

On white

3.96
#678B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#678B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678B27
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678B27#FFFFFF#000000##000000
##678B271.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928117
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#6B8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678b27;
/* rgb */ color: rgb(103, 139, 39);
/* oklch */ color: oklch(58.9% 0.133 127.3);
Tailwind
colors: {
  custom: {
    50: '#96ad68',
    500: '#678b27',
    950: '#000000',
  },
}
SCSS
$custom: #678b27;
$custom-light: #96ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#678b27",
  "rgb": {
    "r": 103,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 81.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.13288,
    "h": 127.3
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#678B27
secondary
#7A58B6
accent
#48DF7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678B27

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

Preview Lab → · Contrast checker → · Palette generator →

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