#C8C752#C8C752

#C8C752 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.139 H 108.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#C8C752
RGBrgb(200, 199, 82)
HSLhsl(59, 52%, 55%)
HSVhsv(59, 59%, 78%)
CMYKcmyk(0%, 0.5%, 59%, 21.6%)
CIE-LABlab(78.31, -14.60, 57.19)
CIE-LCHlch(78.31, 59.02, 104.32°)
OKLaboklab(80.8% -0.0444 0.1313)
OKLCHoklch(80.8% 0.139 108.7)
XYZxyz(45.7672, 53.7367, 15.9423)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C752 #5253C8
analogous
#C88C52 #C8C752 #8EC852
triadic
#C8C752 #52C8C7 #C752C8
tetradic
#C8C752 #52C88C #5253C8 #C8528E
square
#C8C752 #52C88C #5253C8 #C8528E
split-complementary
#C8C752 #528EC8 #8C52C8
monochromatic
#797827 #A8A735 #C8C752 #D7D680 #E6E5AF

Accessibility & contrast

On white

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

On black

11.75
#C8C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C752
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C752#FFFFFF#000000##000000
##C8C7521.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#D5BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c752;
/* rgb */ color: rgb(200, 199, 82);
/* oklch */ color: oklch(80.8% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#dbd787',
    500: '#c8c752',
    950: '#000000',
  },
}
SCSS
$custom: #c8c752;
$custom-light: #dbd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c752",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 59.492,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80796,
    "c": 0.1386,
    "h": 108.7
  },
  "luminance": 0.53735
}

Semantic roles & 50–950 ramp

primary
#C8C752
secondary
#3D3D82
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C752

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

Preview Lab → · Contrast checker → · Palette generator →

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