#667517#667517

#667517 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.2% C 0.115 H 118.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#667517
RGBrgb(102, 117, 23)
HSLhsl(70, 67%, 27%)
HSVhsv(70, 80%, 46%)
CMYKcmyk(12.8%, 0%, 80.3%, 54.1%)
CIE-LABlab(46.46, -18.41, 46.02)
CIE-LCHlch(46.46, 49.57, 111.80°)
OKLaboklab(53.21% -0.0552 0.101)
OKLCHoklch(53.21% 0.115 118.7)
XYZxyz(11.9957, 15.6093, 3.1914)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667517 #261775
analogous
#755517 #667517 #377517
triadic
#667517 #176675 #751766
tetradic
#667517 #177555 #261775 #751737
square
#667517 #177555 #261775 #751737
split-complementary
#667517 #173775 #551775
monochromatic
#161A05 #39420D #667517 #93A821 #BCD630

Accessibility & contrast

On white

5.09
#667517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#667517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667517
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667517#FFFFFF#000000##FFFFFF
##6675171.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#6D6E64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #667517;
/* rgb */ color: rgb(102, 117, 23);
/* oklch */ color: oklch(53.2% 0.115 118.7);
Tailwind
colors: {
  custom: {
    50: '#959c5d',
    500: '#667517',
    950: '#000000',
  },
}
SCSS
$custom: #667517;
$custom-light: #959c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#667517",
  "rgb": {
    "r": 102,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 69.574,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.1151,
    "h": 118.7
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#667517
secondary
#4F3DAA
accent
#3EEA59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #667517

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

Preview Lab → · Contrast checker → · Palette generator →

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