#678E1F#678E1F

#678E1F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.142 H 127.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#678E1F
RGBrgb(103, 142, 31)
HSLhsl(81, 64%, 34%)
HSVhsv(81, 78%, 56%)
CMYKcmyk(27.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(54.37, -30.08, 50.74)
CIE-LCHlch(54.37, 58.99, 120.66°)
OKLaboklab(59.65% -0.0865 0.1123)
OKLCHoklch(59.65% 0.142 127.6)
XYZxyz(15.5139, 22.3282, 4.7885)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E1F #461F8E
analogous
#8E7E1F #678E1F #308E1F
triadic
#678E1F #1F678E #8E1F67
tetradic
#678E1F #1F8E7E #461F8E #8E1F30
square
#678E1F #1F8E7E #461F8E #8E1F30
split-complementary
#678E1F #1F308E #7E1F8E
monochromatic
#1E2A09 #435C14 #678E1F #8BC02A #A8D94F

Accessibility & contrast

On white

3.84
#678E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#678E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E1F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E1F#FFFFFF#000000##000000
##678E1F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958403
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e1f;
/* rgb */ color: rgb(103, 142, 31);
/* oklch */ color: oklch(59.7% 0.142 127.6);
Tailwind
colors: {
  custom: {
    50: '#96af64',
    500: '#678e1f',
    950: '#000000',
  },
}
SCSS
$custom: #678e1f;
$custom-light: #96af64;
$custom-dark: #000000;
JSON
{
  "hex": "#678e1f",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 81.081,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.14179,
    "h": 127.6
  },
  "luminance": 0.22328
}

Semantic roles & 50–950 ramp

primary
#678E1F
secondary
#744DBB
accent
#41E77B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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