#CCD672#CCD672

#CCD672 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.125 H 113.8°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#CCD672
RGBrgb(204, 214, 114)
HSLhsl(66, 55%, 64%)
HSVhsv(66, 47%, 84%)
CMYKcmyk(4.7%, 0%, 46.7%, 16.1%)
CIE-LABlab(82.99, -17.78, 47.92)
CIE-LCHlch(82.99, 51.12, 110.36°)
OKLaboklab(84.72% -0.0504 0.1144)
OKLCHoklch(84.72% 0.125 113.8)
XYZxyz(51.9864, 62.1462, 25.1731)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD672 #7C72D6
analogous
#D6AE72 #CCD672 #9AD672
triadic
#CCD672 #72CCD6 #D672CC
tetradic
#CCD672 #72D6AE #7C72D6 #D6729A
square
#CCD672 #72D6AE #7C72D6 #D6729A
split-complementary
#CCD672 #729AD6 #AE72D6
monochromatic
#949F2E #BBC843 #CCD672 #DDE4A1 #EEF2D1

Accessibility & contrast

On white

1.56
#CCD672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#CCD672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD672
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD672#FFFFFF#000000##000000
##CCD6721.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E2D077
Tritanopia (blue-blind)
#D7CCBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd672;
/* rgb */ color: rgb(204, 214, 114);
/* oklch */ color: oklch(84.7% 0.125 113.8);
Tailwind
colors: {
  custom: {
    50: '#dde29d',
    500: '#ccd672',
    950: '#000000',
  },
}
SCSS
$custom: #ccd672;
$custom-light: #dde29d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd672",
  "rgb": {
    "r": 204,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 66,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84717,
    "c": 0.12505,
    "h": 113.8
  },
  "luminance": 0.62145
}

Semantic roles & 50–950 ramp

primary
#CCD672
secondary
#5249A4
accent
#23C233
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD672

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

Preview Lab → · Contrast checker → · Palette generator →

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