#666018#666018

#666018 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.1% C 0.090 H 104.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#666018
RGBrgb(102, 96, 24)
HSLhsl(55, 62%, 25%)
HSVhsv(55, 76%, 40%)
CMYKcmyk(0%, 5.9%, 76.5%, 60%)
CIE-LABlab(40.01, -6.74, 39.58)
CIE-LCHlch(40.01, 40.15, 99.67°)
OKLaboklab(48.05% -0.0226 0.0876)
OKLCHoklch(48.05% 0.09 104.5)
XYZxyz(9.8276, 11.2569, 2.5191)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666018 #181E66
analogous
#663918 #666018 #456618
triadic
#666018 #186660 #601866
tetradic
#666018 #186639 #181E66 #661845
square
#666018 #186639 #181E66 #661845
split-complementary
#666018 #184566 #391866
monochromatic
#191706 #34310C #666018 #988F24 #C9BD2F

Accessibility & contrast

On white

6.46
#666018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#666018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666018
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666018#FFFFFF#000000##FFFFFF
##6660181.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0B
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#6E5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #666018;
/* rgb */ color: rgb(102, 96, 24);
/* oklch */ color: oklch(48.1% 0.090 104.5);
Tailwind
colors: {
  custom: {
    50: '#948c5b',
    500: '#666018',
    950: '#000000',
  },
}
SCSS
$custom: #666018;
$custom-light: #948c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#666018",
  "rgb": {
    "r": 102,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 55.385,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.09044,
    "h": 104.5
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#666018
secondary
#3E459C
accent
#4FE543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666018

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

Preview Lab → · Contrast checker → · Palette generator →

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