#666A0F#666A0F

#666A0F is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.4% C 0.106 H 112.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#666A0F
RGBrgb(102, 106, 15)
HSLhsl(63, 75%, 24%)
HSVhsv(63, 86%, 42%)
CMYKcmyk(3.8%, 0%, 85.8%, 58.4%)
CIE-LABlab(43.01, -12.80, 45.45)
CIE-LCHlch(43.01, 47.22, 105.72°)
OKLaboklab(50.44% -0.0404 0.0983)
OKLCHoklch(50.44% 0.106 112.3)
XYZxyz(10.7201, 13.1676, 2.4287)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A0F #130F6A
analogous
#6A400F #666A0F #386A0F
triadic
#666A0F #0F666A #6A0F66
tetradic
#666A0F #0F6A40 #130F6A #6A0F38
square
#666A0F #0F6A40 #130F6A #6A0F38
split-complementary
#666A0F #0F386A #400F6A
monochromatic
#1A1B04 #323407 #666A0F #9AA017 #CDD51E

Accessibility & contrast

On white

5.78
#666A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#666A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A0F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A0F#FFFFFF#000000##FFFFFF
##666A0F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#736718
Tritanopia (blue-blind)
#6E635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a0f;
/* rgb */ color: rgb(102, 106, 15);
/* oklch */ color: oklch(50.4% 0.106 112.3);
Tailwind
colors: {
  custom: {
    50: '#959458',
    500: '#666a0f',
    950: '#000000',
  },
}
SCSS
$custom: #666a0f;
$custom-light: #959458;
$custom-dark: #000000;
JSON
{
  "hex": "#666a0f",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 62.637,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.10622,
    "h": 112.3
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#666A0F
secondary
#3732A2
accent
#36F23E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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