#678F1F#678F1F

#678F1F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.143 H 127.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#678F1F
RGBrgb(103, 143, 31)
HSLhsl(81, 64%, 34%)
HSVhsv(81, 78%, 56%)
CMYKcmyk(28%, 0%, 78.3%, 43.9%)
CIE-LABlab(54.69, -30.55, 51.03)
CIE-LCHlch(54.69, 59.48, 120.91°)
OKLaboklab(59.9% -0.0878 0.113)
OKLCHoklch(59.9% 0.143 127.9)
XYZxyz(15.6633, 22.6271, 4.8383)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F1F #471F8F
analogous
#8F7F1F #678F1F #2F8F1F
triadic
#678F1F #1F678F #8F1F67
tetradic
#678F1F #1F8F7F #471F8F #8F1F2F
square
#678F1F #1F8F7F #471F8F #8F1F2F
split-complementary
#678F1F #1F2F8F #7F1F8F
monochromatic
#1F2A09 #435D14 #678F1F #8BC12A #A8D94F

Accessibility & contrast

On white

3.80
#678F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#678F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F1F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F1F#FFFFFF#000000##000000
##678F1F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968502
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f1f;
/* rgb */ color: rgb(103, 143, 31);
/* oklch */ color: oklch(59.9% 0.143 127.9);
Tailwind
colors: {
  custom: {
    50: '#96b064',
    500: '#678f1f',
    950: '#000000',
  },
}
SCSS
$custom: #678f1f;
$custom-light: #96b064;
$custom-dark: #000000;
JSON
{
  "hex": "#678f1f",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 81.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59904,
    "c": 0.14306,
    "h": 127.9
  },
  "luminance": 0.22627
}

Semantic roles & 50–950 ramp

primary
#678F1F
secondary
#754EBC
accent
#40E77C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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