#CCD973#CCD973

#CCD973 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.128 H 115.1°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#CCD973
RGBrgb(204, 217, 115)
HSLhsl(68, 57%, 65%)
HSVhsv(68, 47%, 85%)
CMYKcmyk(6%, 0%, 47%, 14.9%)
CIE-LABlab(83.81, -19.17, 48.44)
CIE-LCHlch(83.81, 52.09, 111.59°)
OKLaboklab(85.38% -0.0543 0.1156)
OKLCHoklch(85.38% 0.128 115.1)
XYZxyz(52.8099, 63.7015, 25.7299)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD973 #8073D9
analogous
#D9B373 #CCD973 #99D973
triadic
#CCD973 #73CCD9 #D973CC
tetradic
#CCD973 #73D9B3 #8073D9 #D97399
square
#CCD973 #73D9B3 #8073D9 #D97399
split-complementary
#CCD973 #7399D9 #B373D9
monochromatic
#96A52D #BACC43 #CCD973 #DEE6A3 #EFF3D3

Accessibility & contrast

On white

1.53
#CCD973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#CCD973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD973
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD973#FFFFFF#000000##000000
##CCD9731.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06A
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#D6CFC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd973;
/* rgb */ color: rgb(204, 217, 115);
/* oklch */ color: oklch(85.4% 0.128 115.1);
Tailwind
colors: {
  custom: {
    50: '#dde49d',
    500: '#ccd973',
    950: '#000000',
  },
}
SCSS
$custom: #ccd973;
$custom-light: #dde49d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd973",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 67.647,
    "s": 57.303,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85375,
    "c": 0.12774,
    "h": 115.1
  },
  "luminance": 0.63701
}

Semantic roles & 50–950 ramp

primary
#CCD973
secondary
#5448A8
accent
#21C536
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD973

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

Preview Lab → · Contrast checker → · Palette generator →

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