#678E17#678E17

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

Color values

HEX#678E17
RGBrgb(103, 142, 23)
HSLhsl(80, 72%, 32%)
HSVhsv(80, 84%, 56%)
CMYKcmyk(27.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.33, -30.46, 53.16)
CIE-LCHlch(54.33, 61.26, 119.81°)
OKLaboklab(59.61% -0.0881 0.1161)
OKLCHoklch(59.61% 0.146 127.2)
XYZxyz(15.4212, 22.2911, 4.3006)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E17 #3E178E
analogous
#8E7A17 #678E17 #2B8E17
triadic
#678E17 #17678E #8E1767
tetradic
#678E17 #178E7A #3E178E #8E172B
square
#678E17 #178E7A #3E178E #8E172B
split-complementary
#678E17 #172B8E #7A178E
monochromatic
#1B2506 #41590E #678E17 #8DC320 #ABE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678E17#FFFFFF#000000##000000
##678E171.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: #678e17;
/* rgb */ color: rgb(103, 142, 23);
/* oklch */ color: oklch(59.6% 0.146 127.2);
Tailwind
colors: {
  custom: {
    50: '#96af61',
    500: '#678e17',
    950: '#000000',
  },
}
SCSS
$custom: #678e17;
$custom-light: #96af61;
$custom-dark: #000000;
JSON
{
  "hex": "#678e17",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 79.664,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.14575,
    "h": 127.2
  },
  "luminance": 0.22291
}

Semantic roles & 50–950 ramp

primary
#678E17
secondary
#6A40C0
accent
#39EF75
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678E17

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

Preview Lab → · Contrast checker → · Palette generator →

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