#678C1F#678C1F

#678C1F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.139 H 127.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#678C1F
RGBrgb(103, 140, 31)
HSLhsl(80, 64%, 34%)
HSVhsv(80, 78%, 55%)
CMYKcmyk(26.4%, 0%, 77.9%, 45.1%)
CIE-LABlab(53.75, -29.13, 50.15)
CIE-LCHlch(53.75, 57.99, 120.15°)
OKLaboklab(59.14% -0.0839 0.1111)
OKLCHoklch(59.14% 0.139 127.1)
XYZxyz(15.2190, 21.7384, 4.6902)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C1F #441F8C
analogous
#8C7A1F #678C1F #308C1F
triadic
#678C1F #1F678C #8C1F67
tetradic
#678C1F #1F8C7A #441F8C #8C1F30
square
#678C1F #1F8C7A #441F8C #8C1F30
split-complementary
#678C1F #1F308C #7A1F8C
monochromatic
#1D2809 #425A14 #678C1F #8CBE2A #A9D84E

Accessibility & contrast

On white

3.93
#678C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#678C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678C1F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678C1F#FFFFFF#000000##000000
##678C1F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678c1f;
/* rgb */ color: rgb(103, 140, 31);
/* oklch */ color: oklch(59.1% 0.139 127.1);
Tailwind
colors: {
  custom: {
    50: '#96ad64',
    500: '#678c1f',
    950: '#000000',
  },
}
SCSS
$custom: #678c1f;
$custom-light: #96ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#678c1f",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 80.367,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.13922,
    "h": 127.1
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#678C1F
secondary
#724CBB
accent
#41E779
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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