#678A1B#678A1B

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

Color values

HEX#678A1B
RGBrgb(103, 138, 27)
HSLhsl(79, 67%, 32%)
HSVhsv(79, 80%, 54%)
CMYKcmyk(25.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.10, -28.37, 50.86)
CIE-LCHlch(53.10, 58.24, 119.16°)
OKLaboklab(58.61% -0.0822 0.1119)
OKLCHoklch(58.61% 0.139 126.3)
XYZxyz(14.8799, 21.1394, 4.3331)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A1B #3E1B8A
analogous
#8A761B #678A1B #2F8A1B
triadic
#678A1B #1B678A #8A1B67
tetradic
#678A1B #1B8A76 #3E1B8A #8A1B2F
square
#678A1B #1B8A76 #3E1B8A #8A1B2F
split-complementary
#678A1B #1B2F8A #761B8A
monochromatic
#1B2407 #415711 #678A1B #8DBD25 #ABDB45

Accessibility & contrast

On white

4.02
#678A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A1B#FFFFFF#000000##000000
##678A1B1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#6C8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a1b;
/* rgb */ color: rgb(103, 138, 27);
/* oklch */ color: oklch(58.6% 0.139 126.3);
Tailwind
colors: {
  custom: {
    50: '#96ac62',
    500: '#678a1b',
    950: '#000000',
  },
}
SCSS
$custom: #678a1b;
$custom-light: #96ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#678a1b",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 78.919,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.13884,
    "h": 126.3
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#678A1B
secondary
#6A45BC
accent
#3EEA74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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