#C8C756#C8C756

#C8C756 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.135 H 108.6°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C8C756
RGBrgb(200, 199, 86)
HSLhsl(59, 51%, 56%)
HSVhsv(59, 57%, 78%)
CMYKcmyk(0%, 0.5%, 57%, 21.6%)
CIE-LABlab(78.34, -14.31, 55.46)
CIE-LCHlch(78.34, 57.28, 104.47°)
OKLaboklab(80.84% -0.0431 0.1281)
OKLCHoklch(80.84% 0.135 108.6)
XYZxyz(45.9239, 53.7993, 16.7675)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C756 #5657C8
analogous
#C88E56 #C8C756 #90C856
triadic
#C8C756 #56C8C7 #C756C8
tetradic
#C8C756 #56C88E #5657C8 #C85690
square
#C8C756 #56C88E #5657C8 #C85690
split-complementary
#C8C756 #5690C8 #8E56C8
monochromatic
#7B7B28 #AAA937 #C8C756 #D7D684 #E6E6B2

Accessibility & contrast

On white

1.79
#C8C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C8C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C756
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C756#FFFFFF#000000##000000
##C8C7561.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#D5BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c756;
/* rgb */ color: rgb(200, 199, 86);
/* oklch */ color: oklch(80.8% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#dbd78a',
    500: '#c8c756',
    950: '#000000',
  },
}
SCSS
$custom: #c8c756;
$custom-light: #dbd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c756",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 59.474,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.1352,
    "h": 108.6
  },
  "luminance": 0.53798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C756

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

Preview Lab → · Contrast checker → · Palette generator →

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