#666F16#666F16

#666F16 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.108 H 115.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#666F16
RGBrgb(102, 111, 22)
HSLhsl(66, 67%, 26%)
HSVhsv(66, 80%, 44%)
CMYKcmyk(8.1%, 0%, 80.2%, 56.5%)
CIE-LABlab(44.59, -15.25, 44.65)
CIE-LCHlch(44.59, 47.18, 108.86°)
OKLaboklab(51.71% -0.0466 0.0979)
OKLCHoklch(51.71% 0.108 115.4)
XYZxyz(11.3091, 14.2518, 2.9140)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F16 #1F166F
analogous
#6F4B16 #666F16 #396F16
triadic
#666F16 #16666F #6F1666
tetradic
#666F16 #166F4B #1F166F #6F1639
square
#666F16 #166F4B #1F166F #6F1639
split-complementary
#666F16 #16396F #4B166F
monochromatic
#171A05 #373C0C #666F16 #95A220 #C4D52B

Accessibility & contrast

On white

5.45
#666F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F16
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F16#FFFFFF#000000##FFFFFF
##666F161.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776901
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#6D685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f16;
/* rgb */ color: rgb(102, 111, 22);
/* oklch */ color: oklch(51.7% 0.108 115.4);
Tailwind
colors: {
  custom: {
    50: '#95985c',
    500: '#666f16',
    950: '#000000',
  },
}
SCSS
$custom: #666f16;
$custom-light: #95985c;
$custom-dark: #000000;
JSON
{
  "hex": "#666f16",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 66.067,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.1084,
    "h": 115.4
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#666F16
secondary
#463CA5
accent
#3EEA4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F16

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

Preview Lab → · Contrast checker → · Palette generator →

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