#678A27#678A27

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

Color values

HEX#678A27
RGBrgb(103, 138, 39)
HSLhsl(81, 56%, 35%)
HSVhsv(81, 72%, 54%)
CMYKcmyk(25.4%, 0%, 71.7%, 45.9%)
CIE-LABlab(53.17, -27.68, 46.61)
CIE-LCHlch(53.17, 54.21, 120.70°)
OKLaboklab(58.69% -0.0793 0.105)
OKLCHoklch(58.69% 0.132 127.1)
XYZxyz(15.0482, 21.2067, 5.2196)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A27 #4A278A
analogous
#8A7C27 #678A27 #368A27
triadic
#678A27 #27678A #8A2767
tetradic
#678A27 #278A7C #4A278A #8A2736
square
#678A27 #278A7C #4A278A #8A2736
split-complementary
#678A27 #27368A #7C278A
monochromatic
#202B0C #435A1A #678A27 #8BBA34 #A7D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A27#FFFFFF#000000##000000
##678A271.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)
#918017
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#6B8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a27;
/* rgb */ color: rgb(103, 138, 39);
/* oklch */ color: oklch(58.7% 0.132 127.1);
Tailwind
colors: {
  custom: {
    50: '#96ac68',
    500: '#678a27',
    950: '#000000',
  },
}
SCSS
$custom: #678a27;
$custom-light: #96ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#678a27",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 81.212,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.13156,
    "h": 127.1
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#678A27
secondary
#7957B6
accent
#49DF7E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A27

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

Preview Lab → · Contrast checker → · Palette generator →

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