#C8C366#C8C366

#C8C366 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.116 H 106.0°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#C8C366
RGBrgb(200, 195, 102)
HSLhsl(57, 47%, 59%)
HSVhsv(57, 49%, 78%)
CMYKcmyk(0%, 2.5%, 49%, 21.6%)
CIE-LABlab(77.44, -10.96, 46.95)
CIE-LCHlch(77.44, 48.21, 103.14°)
OKLaboklab(80.17% -0.0319 0.1114)
OKLCHoklch(80.17% 0.116 106)
XYZxyz(45.7339, 52.2702, 20.2478)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C366 #666BC8
analogous
#C89266 #C8C366 #9CC866
triadic
#C8C366 #66C8C3 #C366C8
tetradic
#C8C366 #66C892 #666BC8 #C8669C
square
#C8C366 #66C892 #666BC8 #C8669C
split-complementary
#C8C366 #669CC8 #9266C8
monochromatic
#84802F #B1AB40 #C8C366 #D8D593 #E8E6C0

Accessibility & contrast

On white

1.83
#C8C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#C8C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C366
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C366#FFFFFF#000000##000000
##C8C3661.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D3C16A
Tritanopia (blue-blind)
#D4B9AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c366;
/* rgb */ color: rgb(200, 195, 102);
/* oklch */ color: oklch(80.2% 0.116 106.0);
Tailwind
colors: {
  custom: {
    50: '#dbd594',
    500: '#c8c366',
    950: '#000000',
  },
}
SCSS
$custom: #c8c366;
$custom-light: #dbd594;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c366",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 56.939,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80173,
    "c": 0.11587,
    "h": 106
  },
  "luminance": 0.52269
}

Semantic roles & 50–950 ramp

primary
#C8C366
secondary
#464A8C
accent
#58D751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C366

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

Preview Lab → · Contrast checker → · Palette generator →

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