#C8C552#C8C552

#C8C552 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.137 H 107.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C8C552
RGBrgb(200, 197, 82)
HSLhsl(58, 52%, 55%)
HSVhsv(58, 59%, 78%)
CMYKcmyk(0%, 1.5%, 59%, 21.6%)
CIE-LABlab(77.77, -13.59, 56.60)
CIE-LCHlch(77.77, 58.21, 103.50°)
OKLaboklab(80.37% -0.0415 0.13)
OKLCHoklch(80.37% 0.137 107.7)
XYZxyz(45.3101, 52.8224, 15.7900)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C552 #5255C8
analogous
#C88A52 #C8C552 #90C852
triadic
#C8C552 #52C8C5 #C552C8
tetradic
#C8C552 #52C88A #5255C8 #C85290
square
#C8C552 #52C88A #5255C8 #C85290
split-complementary
#C8C552 #5290C8 #8A52C8
monochromatic
#797727 #A8A535 #C8C552 #D7D580 #E6E4AF

Accessibility & contrast

On white

1.82
#C8C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C8C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C552
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C552#FFFFFF#000000##000000
##C8C5521.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#D5B9AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c552;
/* rgb */ color: rgb(200, 197, 82);
/* oklch */ color: oklch(80.4% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#dbd687',
    500: '#c8c552',
    950: '#000000',
  },
}
SCSS
$custom: #c8c552;
$custom-light: #dbd687;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c552",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 58.475,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80367,
    "c": 0.13651,
    "h": 107.7
  },
  "luminance": 0.52821
}

Semantic roles & 50–950 ramp

primary
#C8C552
secondary
#3D3E82
accent
#50DB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C552

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

Preview Lab → · Contrast checker → · Palette generator →

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