#666F18#666F18

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

Color values

HEX#666F18
RGBrgb(102, 111, 24)
HSLhsl(66, 64%, 26%)
HSVhsv(66, 78%, 44%)
CMYKcmyk(8.1%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.60, -15.15, 43.95)
CIE-LCHlch(44.60, 46.49, 109.02°)
OKLaboklab(51.73% -0.0461 0.0968)
OKLCHoklch(51.73% 0.107 115.5)
XYZxyz(11.3291, 14.2598, 3.0196)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F18 #21186F
analogous
#6F4D18 #666F18 #3B6F18
triadic
#666F18 #18666F #6F1866
tetradic
#666F18 #186F4D #21186F #6F183B
square
#666F18 #186F4D #21186F #6F183B
split-complementary
#666F18 #183B6F #4D186F
monochromatic
#171905 #383D0D #666F18 #94A123 #C1D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666F18#FFFFFF#000000##FFFFFF
##666F181.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)
#776905
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f18;
/* rgb */ color: rgb(102, 111, 24);
/* oklch */ color: oklch(51.7% 0.107 115.5);
Tailwind
colors: {
  custom: {
    50: '#94985d',
    500: '#666f18',
    950: '#000000',
  },
}
SCSS
$custom: #666f18;
$custom-light: #94985d;
$custom-dark: #000000;
JSON
{
  "hex": "#666f18",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 66.207,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.10723,
    "h": 115.5
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#666F18
secondary
#493EA5
accent
#40E752
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F18

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

Preview Lab → · Contrast checker → · Palette generator →

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