#CCD452#CCD452

#CCD452 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.152 H 112.6°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CCD452
RGBrgb(204, 212, 82)
HSLhsl(64, 60%, 58%)
HSVhsv(64, 61%, 83%)
CMYKcmyk(3.8%, 0%, 61.3%, 16.9%)
CIE-LABlab(82.13, -19.42, 61.42)
CIE-LCHlch(82.13, 64.42, 107.55°)
OKLaboklab(83.92% -0.0582 0.1402)
OKLCHoklch(83.92% 0.152 112.6)
XYZxyz(49.9696, 60.5346, 17.0330)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD452 #5A52D4
analogous
#D49B52 #CCD452 #8BD452
triadic
#CCD452 #52CCD4 #D452CC
tetradic
#CCD452 #52D49B #5A52D4 #D4528B
square
#CCD452 #52D49B #5A52D4 #D4528B
split-complementary
#CCD452 #528BD4 #9B52D4
monochromatic
#838922 #B2BA2E #CCD452 #DAE083 #E9ECB4

Accessibility & contrast

On white

1.60
#CCD452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CCD452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD452
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD452#FFFFFF#000000##000000
##CCD4521.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#D9C8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd452;
/* rgb */ color: rgb(204, 212, 82);
/* oklch */ color: oklch(83.9% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee188',
    500: '#ccd452',
    950: '#000000',
  },
}
SCSS
$custom: #ccd452;
$custom-light: #dee188;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd452",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 63.692,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83923,
    "c": 0.15181,
    "h": 112.6
  },
  "luminance": 0.60534
}

Semantic roles & 50–950 ramp

primary
#CCD452
secondary
#403B90
accent
#44E34E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD452

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

Preview Lab → · Contrast checker → · Palette generator →

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