#666118#666118

#666118 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.091 H 105.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#666118
RGBrgb(102, 97, 24)
HSLhsl(56, 62%, 25%)
HSVhsv(56, 76%, 40%)
CMYKcmyk(0%, 4.9%, 76.5%, 60%)
CIE-LABlab(40.31, -7.32, 39.87)
CIE-LCHlch(40.31, 40.54, 100.40°)
OKLaboklab(48.29% -0.0243 0.0882)
OKLCHoklch(48.29% 0.091 105.4)
XYZxyz(9.9195, 11.4405, 2.5497)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666118 #181D66
analogous
#663A18 #666118 #446618
triadic
#666118 #186661 #611866
tetradic
#666118 #18663A #181D66 #661844
square
#666118 #18663A #181D66 #661844
split-complementary
#666118 #184466 #3A1866
monochromatic
#191806 #34320C #666118 #989024 #C9BF2F

Accessibility & contrast

On white

6.39
#666118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#666118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666118
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666118#FFFFFF#000000##FFFFFF
##6661181.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#6E5A53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #666118;
/* rgb */ color: rgb(102, 97, 24);
/* oklch */ color: oklch(48.3% 0.091 105.4);
Tailwind
colors: {
  custom: {
    50: '#948d5b',
    500: '#666118',
    950: '#000000',
  },
}
SCSS
$custom: #666118;
$custom-light: #948d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#666118",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 56.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.09146,
    "h": 105.4
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#666118
secondary
#3E449C
accent
#4DE543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666118

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

Preview Lab → · Contrast checker → · Palette generator →

#666118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva