#678F27#678F27

#678F27 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.138 H 128.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#678F27
RGBrgb(103, 143, 39)
HSLhsl(83, 57%, 36%)
HSVhsv(83, 73%, 56%)
CMYKcmyk(28%, 0%, 72.7%, 43.9%)
CIE-LABlab(54.74, -30.08, 48.19)
CIE-LCHlch(54.74, 56.80, 121.97°)
OKLaboklab(59.96% -0.0858 0.1083)
OKLCHoklch(59.96% 0.138 128.4)
XYZxyz(15.7822, 22.6746, 5.4642)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F27 #4F278F
analogous
#8F8327 #678F27 #338F27
triadic
#678F27 #27678F #8F2767
tetradic
#678F27 #278F83 #4F278F #8F2733
square
#678F27 #278F83 #4F278F #8F2733
split-complementary
#678F27 #27338F #83278F
monochromatic
#222F0D #445F1A #678F27 #8ABF34 #A6D35D

Accessibility & contrast

On white

3.79
#678F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#678F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F27
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F27#FFFFFF#000000##000000
##678F271.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968515
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#6B887B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f27;
/* rgb */ color: rgb(103, 143, 39);
/* oklch */ color: oklch(60.0% 0.138 128.4);
Tailwind
colors: {
  custom: {
    50: '#96b068',
    500: '#678f27',
    950: '#000000',
  },
}
SCSS
$custom: #678f27;
$custom-light: #96b068;
$custom-dark: #000000;
JSON
{
  "hex": "#678f27",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 83.077,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5996,
    "c": 0.13818,
    "h": 128.4
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#678F27
secondary
#7E5AB8
accent
#47E082
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678F27

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

Preview Lab → · Contrast checker → · Palette generator →

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