#678E18#678E18

#678E18 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.145 H 127.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#678E18
RGBrgb(103, 142, 24)
HSLhsl(80, 71%, 33%)
HSVhsv(80, 83%, 56%)
CMYKcmyk(27.5%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.34, -30.42, 52.88)
CIE-LCHlch(54.34, 61.00, 119.91°)
OKLaboklab(59.61% -0.0879 0.1157)
OKLCHoklch(59.61% 0.145 127.2)
XYZxyz(15.4315, 22.2952, 4.3544)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E18 #3F188E
analogous
#8E7A18 #678E18 #2C8E18
triadic
#678E18 #18678E #8E1867
tetradic
#678E18 #188E7A #3F188E #8E182C
square
#678E18 #188E7A #3F188E #8E182C
split-complementary
#678E18 #182C8E #7A188E
monochromatic
#1B2506 #415A0F #678E18 #8DC221 #ABDF41

Accessibility & contrast

On white

3.85
#678E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#678E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E18
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E18#FFFFFF#000000##000000
##678E181.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e18;
/* rgb */ color: rgb(103, 142, 24);
/* oklch */ color: oklch(59.6% 0.145 127.2);
Tailwind
colors: {
  custom: {
    50: '#96af61',
    500: '#678e18',
    950: '#000000',
  },
}
SCSS
$custom: #678e18;
$custom-light: #96af61;
$custom-dark: #000000;
JSON
{
  "hex": "#678e18",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 79.831,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59611,
    "c": 0.14531,
    "h": 127.2
  },
  "luminance": 0.22296
}

Semantic roles & 50–950 ramp

primary
#678E18
secondary
#6C42C0
accent
#3AEE75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678E18

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

Preview Lab → · Contrast checker → · Palette generator →

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