#C8CD52#C8CD52

#C8CD52 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.145 H 111.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#C8CD52
RGBrgb(200, 205, 82)
HSLhsl(62, 55%, 56%)
HSVhsv(62, 60%, 80%)
CMYKcmyk(2.4%, 0%, 60%, 19.6%)
CIE-LABlab(79.93, -17.60, 58.95)
CIE-LCHlch(79.93, 61.53, 106.62°)
OKLaboklab(82.09% -0.0529 0.1351)
OKLCHoklch(82.09% 0.145 111.4)
XYZxyz(47.1750, 56.5523, 16.4116)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD52 #5752CD
analogous
#CD9552 #C8CD52 #8BCD52
triadic
#C8CD52 #52C8CD #CD52C8
tetradic
#C8CD52 #52CD95 #5752CD #CD528B
square
#C8CD52 #52CD95 #5752CD #CD528B
split-complementary
#C8CD52 #528BCD #9552CD
monochromatic
#7C8025 #AAAF33 #C8CD52 #D7DB81 #E6E8B1

Accessibility & contrast

On white

1.71
#C8CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C8CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD52
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD52#FFFFFF#000000##000000
##C8CD521.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC444
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#D5C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cd52;
/* rgb */ color: rgb(200, 205, 82);
/* oklch */ color: oklch(82.1% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdc88',
    500: '#c8cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd52;
$custom-light: #dbdc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd52",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 62.439,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82088,
    "c": 0.14503,
    "h": 111.4
  },
  "luminance": 0.56551
}

Semantic roles & 50–950 ramp

primary
#C8CD52
secondary
#3F3C87
accent
#49DE4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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