#C8C857#C8C857

#C8C857 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.135 H 109.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C8C857
RGBrgb(200, 200, 87)
HSLhsl(60, 51%, 56%)
HSVhsv(60, 57%, 78%)
CMYKcmyk(0%, 0%, 56.5%, 21.6%)
CIE-LABlab(78.62, -14.74, 55.33)
CIE-LCHlch(78.62, 57.26, 104.92°)
OKLaboklab(81.06% -0.0442 0.128)
OKLCHoklch(81.06% 0.135 109.1)
XYZxyz(46.1953, 54.2772, 17.0581)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C857 #5757C8
analogous
#C89057 #C8C857 #90C857
triadic
#C8C857 #57C8C8 #C857C8
tetradic
#C8C857 #57C890 #5757C8 #C85790
square
#C8C857 #57C890 #5757C8 #C85790
split-complementary
#C8C857 #5790C8 #9057C8
monochromatic
#7C7C29 #AAAA38 #C8C857 #D7D785 #E6E6B3

Accessibility & contrast

On white

1.77
#C8C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C8C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C857
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C857#FFFFFF#000000##000000
##C8C8571.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C04B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#D5BDAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c857;
/* rgb */ color: rgb(200, 200, 87);
/* oklch */ color: oklch(81.1% 0.135 109.1);
Tailwind
colors: {
  custom: {
    50: '#dbd88a',
    500: '#c8c857',
    950: '#000000',
  },
}
SCSS
$custom: #c8c857;
$custom-light: #dbd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c857",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81062,
    "c": 0.1354,
    "h": 109.1
  },
  "luminance": 0.54276
}

Semantic roles & 50–950 ramp

primary
#C8C857
secondary
#3F3F84
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C857

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

Preview Lab → · Contrast checker → · Palette generator →

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