#C8C166#C8C166

#C8C166 is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.114 H 104.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#C8C166
RGBrgb(200, 193, 102)
HSLhsl(56, 47%, 59%)
HSVhsv(56, 49%, 78%)
CMYKcmyk(0%, 3.5%, 49%, 21.6%)
CIE-LABlab(76.91, -9.94, 46.31)
CIE-LCHlch(76.91, 47.36, 102.11°)
OKLaboklab(79.75% -0.029 0.11)
OKLCHoklch(79.75% 0.114 104.8)
XYZxyz(45.2888, 51.3799, 20.0994)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C166 #666DC8
analogous
#C89066 #C8C166 #9EC866
triadic
#C8C166 #66C8C1 #C166C8
tetradic
#C8C166 #66C890 #666DC8 #C8669E
square
#C8C166 #66C890 #666DC8 #C8669E
split-complementary
#C8C166 #669EC8 #9066C8
monochromatic
#847E2F #B1A940 #C8C166 #D8D393 #E8E5C0

Accessibility & contrast

On white

1.86
#C8C166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#C8C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C166
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C166#FFFFFF#000000##000000
##C8C1661.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB5E
Deuteranopia (green-blind)
#D1C06A
Tritanopia (blue-blind)
#D4B7AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8c166;
/* rgb */ color: rgb(200, 193, 102);
/* oklch */ color: oklch(79.7% 0.114 104.8);
Tailwind
colors: {
  custom: {
    50: '#dbd394',
    500: '#c8c166',
    950: '#000000',
  },
}
SCSS
$custom: #c8c166;
$custom-light: #dbd394;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c166",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 55.714,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79749,
    "c": 0.11373,
    "h": 104.8
  },
  "luminance": 0.51379
}

Semantic roles & 50–950 ramp

primary
#C8C166
secondary
#464B8C
accent
#5BD751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C166

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

Preview Lab → · Contrast checker → · Palette generator →

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