#678D1F#678D1F

#678D1F is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.141 H 127.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#678D1F
RGBrgb(103, 141, 31)
HSLhsl(81, 64%, 34%)
HSVhsv(81, 78%, 55%)
CMYKcmyk(27%, 0%, 78%, 44.7%)
CIE-LABlab(54.06, -29.61, 50.44)
CIE-LCHlch(54.06, 58.49, 120.41°)
OKLaboklab(59.4% -0.0852 0.1117)
OKLCHoklch(59.4% 0.141 127.3)
XYZxyz(15.3658, 22.0319, 4.7391)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D1F #451F8D
analogous
#8D7C1F #678D1F #308D1F
triadic
#678D1F #1F678D #8D1F67
tetradic
#678D1F #1F8D7C #451F8D #8D1F30
square
#678D1F #1F8D7C #451F8D #8D1F30
split-complementary
#678D1F #1F308D #7C1F8D
monochromatic
#1E2909 #425B14 #678D1F #8CBF2A #A9D84E

Accessibility & contrast

On white

3.88
#678D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#678D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D1F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D1F#FFFFFF#000000##000000
##678D1F1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948304
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#6B8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d1f;
/* rgb */ color: rgb(103, 141, 31);
/* oklch */ color: oklch(59.4% 0.141 127.3);
Tailwind
colors: {
  custom: {
    50: '#96ae64',
    500: '#678d1f',
    950: '#000000',
  },
}
SCSS
$custom: #678d1f;
$custom-light: #96ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#678d1f",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 80.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.1405,
    "h": 127.3
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#678D1F
secondary
#734DBB
accent
#41E77A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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