#678018#678018

#678018 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.1% C 0.128 H 122.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#678018
RGBrgb(103, 128, 24)
HSLhsl(74, 68%, 30%)
HSVhsv(74, 81%, 50%)
CMYKcmyk(19.5%, 0%, 81.3%, 49.8%)
CIE-LABlab(49.96, -23.59, 48.93)
CIE-LCHlch(49.96, 54.32, 115.74°)
OKLaboklab(56.06% -0.0694 0.1073)
OKLCHoklch(56.06% 0.128 122.9)
XYZxyz(13.4778, 18.3878, 3.7031)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678018 #311880
analogous
#806518 #678018 #338018
triadic
#678018 #186780 #801867
tetradic
#678018 #188065 #311880 #801833
square
#678018 #188065 #311880 #801833
split-complementary
#678018 #183380 #651880
monochromatic
#151A05 #3E4C0E #678018 #90B422 #B3DA39

Accessibility & contrast

On white

4.49
#678018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#678018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678018
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678018#FFFFFF#000000##000000
##6780181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#6D796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #678018;
/* rgb */ color: rgb(103, 128, 24);
/* oklch */ color: oklch(56.1% 0.128 122.9);
Tailwind
colors: {
  custom: {
    50: '#96a55f',
    500: '#678018',
    950: '#000000',
  },
}
SCSS
$custom: #678018;
$custom-light: #96a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#678018",
  "rgb": {
    "r": 103,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 74.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.12779,
    "h": 122.9
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#678018
secondary
#5C40B4
accent
#3DEB67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678018

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

Preview Lab → · Contrast checker → · Palette generator →

#678018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva