#CCCE48#CCCE48

#CCCE48 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.5% C 0.153 H 110.2°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CCCE48
RGBrgb(204, 206, 72)
HSLhsl(61, 58%, 55%)
HSVhsv(61, 65%, 81%)
CMYKcmyk(1%, 0%, 65%, 19.2%)
CIE-LABlab(80.43, -17.08, 63.70)
CIE-LCHlch(80.43, 65.95, 105.01°)
OKLaboklab(82.54% -0.0527 0.1436)
OKLCHoklch(82.54% 0.153 110.2)
XYZxyz(48.1444, 57.4492, 14.6823)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE48 #4A48CE
analogous
#CE8D48 #CCCE48 #89CE48
triadic
#CCCE48 #48CCCE #CE48CC
tetradic
#CCCE48 #48CE8D #4A48CE #CE4889
square
#CCCE48 #48CE8D #4A48CE #CE4889
split-complementary
#CCCE48 #4889CE #8D48CE
monochromatic
#797B21 #A9AB2E #CCCE48 #D9DB78 #E7E8A9

Accessibility & contrast

On white

1.68
#CCCE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CCCE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE48
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE48#FFFFFF#000000##000000
##CCCE481.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC535
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#DAC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce48;
/* rgb */ color: rgb(204, 206, 72);
/* oklch */ color: oklch(82.5% 0.153 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc82',
    500: '#ccce48',
    950: '#000000',
  },
}
SCSS
$custom: #ccce48;
$custom-light: #dfdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce48",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 60.896,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82542,
    "c": 0.15291,
    "h": 110.2
  },
  "luminance": 0.57448
}

Semantic roles & 50–950 ramp

primary
#CCCE48
secondary
#393783
accent
#47E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCE48

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

Preview Lab → · Contrast checker → · Palette generator →

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