#666F0F#666F0F

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

Color values

HEX#666F0F
RGBrgb(102, 111, 15)
HSLhsl(66, 76%, 25%)
HSVhsv(66, 86%, 44%)
CMYKcmyk(8.1%, 0%, 86.5%, 56.5%)
CIE-LABlab(44.56, -15.53, 46.78)
CIE-LCHlch(44.56, 49.29, 108.37°)
OKLaboklab(51.68% -0.0479 0.1011)
OKLCHoklch(51.68% 0.112 115.4)
XYZxyz(11.2505, 14.2283, 2.6055)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F0F #180F6F
analogous
#6F480F #666F0F #366F0F
triadic
#666F0F #0F666F #6F0F66
tetradic
#666F0F #0F6F48 #180F6F #6F0F36
square
#666F0F #0F6F48 #180F6F #6F0F36
split-complementary
#666F0F #0F366F #480F6F
monochromatic
#191B04 #343908 #666F0F #98A516 #C9DB1E

Accessibility & contrast

On white

5.46
#666F0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F0F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F0F#FFFFFF#000000##FFFFFF
##666F0F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666f0f;
/* rgb */ color: rgb(102, 111, 15);
/* oklch */ color: oklch(51.7% 0.112 115.4);
Tailwind
colors: {
  custom: {
    50: '#959859',
    500: '#666f0f',
    950: '#000000',
  },
}
SCSS
$custom: #666f0f;
$custom-light: #959859;
$custom-dark: #000000;
JSON
{
  "hex": "#666f0f",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 15
  },
  "hsl": {
    "h": 65.625,
    "s": 76.19,
    "l": 24.706
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.1119,
    "h": 115.4
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#666F0F
secondary
#3E33A7
accent
#35F347
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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