#678A26#678A26

#678A26 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.132 H 127.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#678A26
RGBrgb(103, 138, 38)
HSLhsl(81, 57%, 35%)
HSVhsv(81, 72%, 54%)
CMYKcmyk(25.4%, 0%, 72.5%, 45.9%)
CIE-LABlab(53.17, -27.74, 47.00)
CIE-LCHlch(53.17, 54.58, 120.55°)
OKLaboklab(58.68% -0.0796 0.1056)
OKLCHoklch(58.68% 0.132 127)
XYZxyz(15.0319, 21.2002, 5.1334)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A26 #49268A
analogous
#8A7B26 #678A26 #358A26
triadic
#678A26 #26678A #8A2667
tetradic
#678A26 #268A7B #49268A #8A2635
square
#678A26 #268A7B #49268A #8A2635
split-complementary
#678A26 #26358A #7B268A
monochromatic
#1F2A0C #435A19 #678A26 #8BBA33 #A7D159

Accessibility & contrast

On white

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

On black

5.24
#678A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A26
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A26#FFFFFF#000000##000000
##678A261.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678a26;
/* rgb */ color: rgb(103, 138, 38);
/* oklch */ color: oklch(58.7% 0.132 127.0);
Tailwind
colors: {
  custom: {
    50: '#96ac67',
    500: '#678a26',
    950: '#000000',
  },
}
SCSS
$custom: #678a26;
$custom-light: #96ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#678a26",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 81,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.13225,
    "h": 127
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#678A26
secondary
#7756B6
accent
#48E07D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A26

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

Preview Lab → · Contrast checker → · Palette generator →

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