#666B17#666B17

#666B17 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.103 H 113.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#666B17
RGBrgb(102, 107, 23)
HSLhsl(64, 65%, 25%)
HSVhsv(64, 79%, 42%)
CMYKcmyk(4.7%, 0%, 78.5%, 58%)
CIE-LABlab(43.36, -13.01, 43.15)
CIE-LCHlch(43.36, 45.07, 106.78°)
OKLaboklab(50.73% -0.0403 0.0949)
OKLCHoklch(50.73% 0.103 113)
XYZxyz(10.8922, 13.4023, 2.8236)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B17 #1C176B
analogous
#6B4617 #666B17 #3C6B17
triadic
#666B17 #17666B #6B1766
tetradic
#666B17 #176B46 #1C176B #6B173C
square
#666B17 #176B46 #1C176B #6B173C
split-complementary
#666B17 #173C6B #46176B
monochromatic
#181905 #36390C #666B17 #969D22 #C6D02D

Accessibility & contrast

On white

5.71
#666B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#666B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B17#FFFFFF#000000##FFFFFF
##666B171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666b17;
/* rgb */ color: rgb(102, 107, 23);
/* oklch */ color: oklch(50.7% 0.103 113.0);
Tailwind
colors: {
  custom: {
    50: '#94955c',
    500: '#666b17',
    950: '#000000',
  },
}
SCSS
$custom: #666b17;
$custom-light: #94955c;
$custom-dark: #000000;
JSON
{
  "hex": "#666b17",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 63.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.10311,
    "h": 113
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#666B17
secondary
#433DA1
accent
#40E84A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666B17

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

Preview Lab → · Contrast checker → · Palette generator →

#666B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva