#678F18#678F18

#678F18 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.147 H 127.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#678F18
RGBrgb(103, 143, 24)
HSLhsl(80, 71%, 33%)
HSVhsv(80, 83%, 56%)
CMYKcmyk(28%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.65, -30.89, 53.16)
CIE-LCHlch(54.65, 61.48, 120.16°)
OKLaboklab(59.87% -0.0892 0.1163)
OKLCHoklch(59.87% 0.147 127.5)
XYZxyz(15.5809, 22.5941, 4.4042)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F18 #40188F
analogous
#8F7B18 #678F18 #2C8F18
triadic
#678F18 #18678F #8F1867
tetradic
#678F18 #188F7B #40188F #8F182C
square
#678F18 #188F7B #40188F #8F182C
split-complementary
#678F18 #182C8F #7B188F
monochromatic
#1C2606 #415B0F #678F18 #8DC321 #AADF42

Accessibility & contrast

On white

3.81
#678F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#678F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F18
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F18#FFFFFF#000000##000000
##678F181.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f18;
/* rgb */ color: rgb(103, 143, 24);
/* oklch */ color: oklch(59.9% 0.147 127.5);
Tailwind
colors: {
  custom: {
    50: '#96b061',
    500: '#678f18',
    950: '#000000',
  },
}
SCSS
$custom: #678f18;
$custom-light: #96b061;
$custom-dark: #000000;
JSON
{
  "hex": "#678f18",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 80.168,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.14654,
    "h": 127.5
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#678F18
secondary
#6D43C0
accent
#3AEE76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678F18

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

Preview Lab → · Contrast checker → · Palette generator →

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