#678B28#678B28

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

Color values

HEX#678B28
RGBrgb(103, 139, 40)
HSLhsl(82, 55%, 35%)
HSVhsv(82, 71%, 55%)
CMYKcmyk(25.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(53.49, -28.09, 46.54)
CIE-LCHlch(53.49, 54.36, 121.12°)
OKLaboklab(58.96% -0.0803 0.105)
OKLCHoklch(58.96% 0.132 127.4)
XYZxyz(15.2092, 21.5017, 5.3560)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678B28 #4C288B
analogous
#8B7D28 #678B28 #368B28
triadic
#678B28 #28678B #8B2867
tetradic
#678B28 #288B7D #4C288B #8B2836
square
#678B28 #288B7D #4C288B #8B2836
split-complementary
#678B28 #28368B #7D288B
monochromatic
#212C0D #445B1A #678B28 #8ABB36 #A6D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678B28#FFFFFF#000000##000000
##678B281.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)
#928118
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#6B8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678b28;
/* rgb */ color: rgb(103, 139, 40);
/* oklch */ color: oklch(59.0% 0.132 127.4);
Tailwind
colors: {
  custom: {
    50: '#96ad68',
    500: '#678b28',
    950: '#000000',
  },
}
SCSS
$custom: #678b28;
$custom-light: #96ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#678b28",
  "rgb": {
    "r": 103,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 81.818,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.13219,
    "h": 127.4
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#678B28
secondary
#7B59B6
accent
#49DF80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678B28

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

Preview Lab → · Contrast checker → · Palette generator →

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