#678A1F#678A1F

#678A1F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.137 H 126.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#678A1F
RGBrgb(103, 138, 31)
HSLhsl(80, 63%, 33%)
HSVhsv(80, 78%, 54%)
CMYKcmyk(25.4%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.12, -28.17, 49.55)
CIE-LCHlch(53.12, 57.00, 119.62°)
OKLaboklab(58.64% -0.0813 0.1098)
OKLCHoklch(58.64% 0.137 126.5)
XYZxyz(14.9294, 21.1592, 4.5936)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A1F #421F8A
analogous
#8A771F #678A1F #318A1F
triadic
#678A1F #1F678A #8A1F67
tetradic
#678A1F #1F8A77 #421F8A #8A1F31
square
#678A1F #1F8A77 #421F8A #8A1F31
split-complementary
#678A1F #1F318A #771F8A
monochromatic
#1C2609 #425814 #678A1F #8CBC2A #AAD74C

Accessibility & contrast

On white

4.01
#678A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#678A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A1F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A1F#FFFFFF#000000##000000
##678A1F1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#6B8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a1f;
/* rgb */ color: rgb(103, 138, 31);
/* oklch */ color: oklch(58.6% 0.137 126.5);
Tailwind
colors: {
  custom: {
    50: '#96ac64',
    500: '#678a1f',
    950: '#000000',
  },
}
SCSS
$custom: #678a1f;
$custom-light: #96ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#678a1f",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 79.626,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.13665,
    "h": 126.5
  },
  "luminance": 0.21159
}

Semantic roles & 50–950 ramp

primary
#678A1F
secondary
#6F4BBA
accent
#41E677
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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