#C8D752#C8D752

#C8D752 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.3% C 0.156 H 115.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#C8D752
RGBrgb(200, 215, 82)
HSLhsl(67, 62%, 58%)
HSVhsv(67, 62%, 84%)
CMYKcmyk(7%, 0%, 61.9%, 15.7%)
CIE-LABlab(82.64, -22.51, 61.88)
CIE-LCHlch(82.64, 65.85, 109.99°)
OKLaboklab(84.26% -0.0667 0.1412)
OKLCHoklch(84.26% 0.156 115.3)
XYZxyz(49.6440, 61.4902, 17.2346)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D752 #6152D7
analogous
#D7A352 #C8D752 #85D752
triadic
#C8D752 #52C8D7 #D752C8
tetradic
#C8D752 #52D7A3 #6152D7 #D75285
square
#C8D752 #52D7A3 #6152D7 #D75285
split-complementary
#C8D752 #5285D7 #A352D7
monochromatic
#828E21 #AFC02C #C8D752 #D8E284 #E8EEB5

Accessibility & contrast

On white

1.58
#C8D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#C8D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D752
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D752#FFFFFF#000000##000000
##C8D7521.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD42
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#D4CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d752;
/* rgb */ color: rgb(200, 215, 82);
/* oklch */ color: oklch(84.3% 0.156 115.3);
Tailwind
colors: {
  custom: {
    50: '#dce388',
    500: '#c8d752',
    950: '#000000',
  },
}
SCSS
$custom: #c8d752;
$custom-light: #dce388;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d752",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 66.767,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8426,
    "c": 0.1562,
    "h": 115.3
  },
  "luminance": 0.61489
}

Semantic roles & 50–950 ramp

primary
#C8D752
secondary
#443A93
accent
#42E655
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D752

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

Preview Lab → · Contrast checker → · Palette generator →

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