#CCCE4C#CCCE4C

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

Color values

HEX#CCCE4C
RGBrgb(204, 206, 76)
HSLhsl(61, 57%, 55%)
HSVhsv(61, 63%, 81%)
CMYKcmyk(1%, 0%, 63.1%, 19.2%)
CIE-LABlab(80.46, -16.84, 62.13)
CIE-LCHlch(80.46, 64.37, 105.17°)
OKLaboklab(82.58% -0.0516 0.1408)
OKLCHoklch(82.58% 0.15 110.1)
XYZxyz(48.2791, 57.5031, 15.3921)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE4C #4E4CCE
analogous
#CE8F4C #CCCE4C #8BCE4C
triadic
#CCCE4C #4CCCCE #CE4CCC
tetradic
#CCCE4C #4CCE8F #4E4CCE #CE4C8B
square
#CCCE4C #4CCE8F #4E4CCE #CE4C8B
split-complementary
#CCCE4C #4C8BCE #8F4CCE
monochromatic
#7C7D22 #ABAD2F #CCCE4C #DADB7C #E7E8AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCE4C#FFFFFF#000000##000000
##CCCE4C1.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)
#DEC63B
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#DAC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce4c;
/* rgb */ color: rgb(204, 206, 76);
/* oklch */ color: oklch(82.6% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc84',
    500: '#ccce4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccce4c;
$custom-light: #dfdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce4c",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 60.923,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82576,
    "c": 0.14998,
    "h": 110.1
  },
  "luminance": 0.57502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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