#C8D852#C8D852

#C8D852 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.157 H 115.6°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C8D852
RGBrgb(200, 216, 82)
HSLhsl(67, 63%, 58%)
HSVhsv(67, 62%, 85%)
CMYKcmyk(7.4%, 0%, 62%, 15.3%)
CIE-LABlab(82.91, -23.00, 62.18)
CIE-LCHlch(82.91, 66.29, 110.30°)
OKLaboklab(84.48% -0.068 0.1419)
OKLCHoklch(84.48% 0.157 115.6)
XYZxyz(49.8994, 62.0010, 17.3197)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D852 #6252D8
analogous
#D8A552 #C8D852 #85D852
triadic
#C8D852 #52C8D8 #D852C8
tetradic
#C8D852 #52D8A5 #6252D8 #D85285
square
#C8D852 #52D8A5 #6252D8 #D85285
split-complementary
#C8D852 #5285D8 #A552D8
monochromatic
#828F20 #AFC12C #C8D852 #D8E384 #E8EFB6

Accessibility & contrast

On white

1.57
#C8D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C8D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D852
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D852#FFFFFF#000000##000000
##C8D8521.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE41
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#D4CCBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d852;
/* rgb */ color: rgb(200, 216, 82);
/* oklch */ color: oklch(84.5% 0.157 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce488',
    500: '#c8d852',
    950: '#000000',
  },
}
SCSS
$custom: #c8d852;
$custom-light: #dce488;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d852",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 67.164,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84478,
    "c": 0.15735,
    "h": 115.6
  },
  "luminance": 0.62
}

Semantic roles & 50–950 ramp

primary
#C8D852
secondary
#443995
accent
#42E655
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D852

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

Preview Lab → · Contrast checker → · Palette generator →

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