#678017#678017

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

Color values

HEX#678017
RGBrgb(103, 128, 23)
HSLhsl(74, 70%, 30%)
HSVhsv(74, 82%, 50%)
CMYKcmyk(19.5%, 0%, 82%, 49.8%)
CIE-LABlab(49.96, -23.64, 49.24)
CIE-LCHlch(49.96, 54.62, 115.64°)
OKLaboklab(56.06% -0.0696 0.1078)
OKLCHoklch(56.06% 0.128 122.8)
XYZxyz(13.4675, 18.3837, 3.6493)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678017 #301780
analogous
#806517 #678017 #328017
triadic
#678017 #176780 #801767
tetradic
#678017 #178065 #301780 #801732
square
#678017 #178065 #301780 #801732
split-complementary
#678017 #173280 #651780
monochromatic
#151A05 #3D4C0E #678017 #91B420 #B4DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678017#FFFFFF#000000##000000
##6780171.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)
#887700
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#6D796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #678017;
/* rgb */ color: rgb(103, 128, 23);
/* oklch */ color: oklch(56.1% 0.128 122.8);
Tailwind
colors: {
  custom: {
    50: '#96a55f',
    500: '#678017',
    950: '#000000',
  },
}
SCSS
$custom: #678017;
$custom-light: #96a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#678017",
  "rgb": {
    "r": 103,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 74.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.12828,
    "h": 122.8
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#678017
secondary
#5A3EB4
accent
#3BEC66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678017

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

Preview Lab → · Contrast checker → · Palette generator →

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