#678B1F#678B1F

#678B1F is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.138 H 126.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#678B1F
RGBrgb(103, 139, 31)
HSLhsl(80, 64%, 33%)
HSVhsv(80, 78%, 55%)
CMYKcmyk(25.9%, 0%, 77.7%, 45.5%)
CIE-LABlab(53.44, -28.65, 49.85)
CIE-LCHlch(53.44, 57.50, 119.89°)
OKLaboklab(58.89% -0.0826 0.1105)
OKLCHoklch(58.89% 0.138 126.8)
XYZxyz(15.0735, 21.4475, 4.6417)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678B1F #431F8B
analogous
#8B791F #678B1F #318B1F
triadic
#678B1F #1F678B #8B1F67
tetradic
#678B1F #1F8B79 #431F8B #8B1F31
square
#678B1F #1F8B79 #431F8B #8B1F31
split-complementary
#678B1F #1F318B #791F8B
monochromatic
#1D2709 #425914 #678B1F #8CBD2A #A9D74D

Accessibility & contrast

On white

3.97
#678B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#678B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678B1F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678B1F#FFFFFF#000000##000000
##678B1F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938105
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#6B8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678b1f;
/* rgb */ color: rgb(103, 139, 31);
/* oklch */ color: oklch(58.9% 0.138 126.8);
Tailwind
colors: {
  custom: {
    50: '#96ad64',
    500: '#678b1f',
    950: '#000000',
  },
}
SCSS
$custom: #678b1f;
$custom-light: #96ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#678b1f",
  "rgb": {
    "r": 103,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.13794,
    "h": 126.8
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#678B1F
secondary
#714CBA
accent
#41E778
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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