#CCCE4D#CCCE4D

#CCCE4D is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.149 H 110.1°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CCCE4D
RGBrgb(204, 206, 77)
HSLhsl(61, 57%, 55%)
HSVhsv(61, 63%, 81%)
CMYKcmyk(1%, 0%, 62.6%, 19.2%)
CIE-LABlab(80.47, -16.78, 61.73)
CIE-LCHlch(80.47, 63.97, 105.21°)
OKLaboklab(82.59% -0.0513 0.1401)
OKLCHoklch(82.59% 0.149 110.1)
XYZxyz(48.3142, 57.5171, 15.5766)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE4D #4F4DCE
analogous
#CE8F4D #CCCE4D #8BCE4D
triadic
#CCCE4D #4DCCCE #CE4DCC
tetradic
#CCCE4D #4DCE8F #4F4DCE #CE4D8B
square
#CCCE4D #4DCE8F #4F4DCE #CE4D8B
split-complementary
#CCCE4D #4D8BCE #8F4DCE
monochromatic
#7D7E23 #ACAE30 #CCCE4D #DADB7D #E7E8AD

Accessibility & contrast

On white

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

On black

12.50
#CCCE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE4D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE4D#FFFFFF#000000##000000
##CCCE4D1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccce4d;
/* rgb */ color: rgb(204, 206, 77);
/* oklch */ color: oklch(82.6% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc85',
    500: '#ccce4d',
    950: '#000000',
  },
}
SCSS
$custom: #ccce4d;
$custom-light: #dfdc85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce4d",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 77
  },
  "hsl": {
    "h": 60.93,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82585,
    "c": 0.14923,
    "h": 110.1
  },
  "luminance": 0.57516
}

Semantic roles & 50–950 ramp

primary
#CCCE4D
secondary
#3B3A86
accent
#48E04A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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