#667917#667917

#667917 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.120 H 120.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#667917
RGBrgb(102, 121, 23)
HSLhsl(72, 68%, 28%)
HSVhsv(72, 81%, 47%)
CMYKcmyk(15.7%, 0%, 81%, 52.5%)
CIE-LABlab(47.70, -20.50, 47.16)
CIE-LCHlch(47.70, 51.43, 113.50°)
OKLaboklab(54.22% -0.0609 0.1034)
OKLCHoklch(54.22% 0.12 120.5)
XYZxyz(12.4718, 16.5614, 3.3501)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667917 #2A1779
analogous
#795B17 #667917 #357917
triadic
#667917 #176679 #791766
tetradic
#667917 #17795B #2A1779 #791735
square
#667917 #17795B #2A1779 #791735
split-complementary
#667917 #173579 #5B1779
monochromatic
#161A05 #3B460D #667917 #91AC21 #B8D832

Accessibility & contrast

On white

4.87
#667917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#667917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667917
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667917#FFFFFF#000000##FFFFFF
##6679171.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#6C7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #667917;
/* rgb */ color: rgb(102, 121, 23);
/* oklch */ color: oklch(54.2% 0.120 120.5);
Tailwind
colors: {
  custom: {
    50: '#959f5e',
    500: '#667917',
    950: '#000000',
  },
}
SCSS
$custom: #667917;
$custom-light: #959f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#667917",
  "rgb": {
    "r": 102,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 71.633,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.12004,
    "h": 120.5
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#667917
secondary
#543EAE
accent
#3DEB5F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #667917

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

Preview Lab → · Contrast checker → · Palette generator →

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