#668017#668017

#668017 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.0% C 0.129 H 123.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#668017
RGBrgb(102, 128, 23)
HSLhsl(75, 70%, 30%)
HSVhsv(75, 82%, 50%)
CMYKcmyk(20.3%, 0%, 82%, 49.8%)
CIE-LABlab(49.89, -24.07, 49.15)
CIE-LCHlch(49.89, 54.73, 116.09°)
OKLaboklab(55.98% -0.0707 0.1076)
OKLCHoklch(55.98% 0.129 123.3)
XYZxyz(13.3535, 18.3249, 3.6440)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668017 #311780
analogous
#806617 #668017 #328017
triadic
#668017 #176680 #801766
tetradic
#668017 #178066 #311780 #801732
square
#668017 #178066 #311780 #801732
split-complementary
#668017 #173280 #661780
monochromatic
#151A05 #3D4C0E #668017 #8FB420 #B2DB36

Accessibility & contrast

On white

4.50
#668017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#668017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668017
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668017#FFFFFF#000000##000000
##6680171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#6C796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #668017;
/* rgb */ color: rgb(102, 128, 23);
/* oklch */ color: oklch(56.0% 0.129 123.3);
Tailwind
colors: {
  custom: {
    50: '#95a55f',
    500: '#668017',
    950: '#000000',
  },
}
SCSS
$custom: #668017;
$custom-light: #95a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#668017",
  "rgb": {
    "r": 102,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 74.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.12877,
    "h": 123.3
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#668017
secondary
#5C3EB4
accent
#3BEC67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668017

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

Preview Lab → · Contrast checker → · Palette generator →

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