#678E15#678E15

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

Color values

HEX#678E15
RGBrgb(103, 142, 21)
HSLhsl(79, 74%, 32%)
HSVhsv(79, 85%, 56%)
CMYKcmyk(27.5%, 0%, 85.2%, 44.3%)
CIE-LABlab(54.33, -30.54, 53.68)
CIE-LCHlch(54.33, 61.76, 119.63°)
OKLaboklab(59.6% -0.0884 0.1169)
OKLCHoklch(59.6% 0.147 127.1)
XYZxyz(15.4019, 22.2834, 4.1990)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E15 #3C158E
analogous
#8E7915 #678E15 #2B8E15
triadic
#678E15 #15678E #8E1567
tetradic
#678E15 #158E79 #3C158E #8E152B
square
#678E15 #158E79 #3C158E #8E152B
split-complementary
#678E15 #152B8E #79158E
monochromatic
#1A2305 #40590D #678E15 #8EC31D #ACE23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678E15#FFFFFF#000000##000000
##678E151.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)
#908124
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e15;
/* rgb */ color: rgb(103, 142, 21);
/* oklch */ color: oklch(59.6% 0.147 127.1);
Tailwind
colors: {
  custom: {
    50: '#97af60',
    500: '#678e15',
    950: '#000000',
  },
}
SCSS
$custom: #678e15;
$custom-light: #97af60;
$custom-dark: #000000;
JSON
{
  "hex": "#678e15",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 79.339,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.14659,
    "h": 127.1
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#678E15
secondary
#683DC2
accent
#37F173
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #678E15

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

Preview Lab → · Contrast checker → · Palette generator →

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