#C8C867#C8C867

#C8C867 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.120 H 108.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C8C867
RGBrgb(200, 200, 103)
HSLhsl(60, 47%, 59%)
HSVhsv(60, 49%, 78%)
CMYKcmyk(0%, 0%, 48.5%, 21.6%)
CIE-LABlab(78.79, -13.41, 48.08)
CIE-LCHlch(78.79, 49.92, 105.59°)
OKLaboklab(81.25% -0.0388 0.114)
OKLCHoklch(81.25% 0.12 108.8)
XYZxyz(46.9229, 54.5683, 20.8903)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C867 #6767C8
analogous
#C89867 #C8C867 #98C867
triadic
#C8C867 #67C8C8 #C867C8
tetradic
#C8C867 #67C898 #6767C8 #C86798
square
#C8C867 #67C898 #6767C8 #C86798
split-complementary
#C8C867 #6798C8 #9867C8
monochromatic
#858530 #B2B240 #C8C867 #D8D894 #E9E9C1

Accessibility & contrast

On white

1.76
#C8C867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C8C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C867
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C867#FFFFFF#000000##000000
##C8C8671.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15E
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#D4BEB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c867;
/* rgb */ color: rgb(200, 200, 103);
/* oklch */ color: oklch(81.3% 0.120 108.8);
Tailwind
colors: {
  custom: {
    50: '#dad895',
    500: '#c8c867',
    950: '#000000',
  },
}
SCSS
$custom: #c8c867;
$custom-light: #dad895;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c867",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 60,
    "s": 46.86,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81251,
    "c": 0.12037,
    "h": 108.8
  },
  "luminance": 0.54567
}

Semantic roles & 50–950 ramp

primary
#C8C867
secondary
#47478C
accent
#51D651
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C867

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

Preview Lab → · Contrast checker → · Palette generator →

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