#C8D252#C8D252

#C8D252 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.2% C 0.151 H 113.4°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C8D252
RGBrgb(200, 210, 82)
HSLhsl(65, 59%, 57%)
HSVhsv(65, 61%, 82%)
CMYKcmyk(4.8%, 0%, 61%, 17.6%)
CIE-LABlab(81.28, -20.07, 60.42)
CIE-LCHlch(81.28, 63.67, 108.38°)
OKLaboklab(83.17% -0.0598 0.1382)
OKLCHoklch(83.17% 0.151 113.4)
XYZxyz(48.3902, 58.9827, 16.8167)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D252 #5C52D2
analogous
#D29C52 #C8D252 #88D252
triadic
#C8D252 #52C8D2 #D252C8
tetradic
#C8D252 #52D29C #5C52D2 #D25288
square
#C8D252 #52D29C #5C52D2 #D25288
split-complementary
#C8D252 #5288D2 #9C52D2
monochromatic
#7F8723 #ADB730 #C8D252 #D7DF83 #E7EBB3

Accessibility & contrast

On white

1.64
#C8D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#C8D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D252
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D252#FFFFFF#000000##000000
##C8D2521.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C943
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D4C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d252;
/* rgb */ color: rgb(200, 210, 82);
/* oklch */ color: oklch(83.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbdf88',
    500: '#c8d252',
    950: '#000000',
  },
}
SCSS
$custom: #c8d252;
$custom-light: #dbdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d252",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 64.688,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83171,
    "c": 0.15056,
    "h": 113.4
  },
  "luminance": 0.58982
}

Semantic roles & 50–950 ramp

primary
#C8D252
secondary
#413B8D
accent
#46E252
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D252

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

Preview Lab → · Contrast checker → · Palette generator →

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