#CCCE51#CCCE51

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

Color values

HEX#CCCE51
RGBrgb(204, 206, 81)
HSLhsl(61, 56%, 56%)
HSVhsv(61, 61%, 81%)
CMYKcmyk(1%, 0%, 60.7%, 19.2%)
CIE-LABlab(80.50, -16.52, 60.09)
CIE-LCHlch(80.50, 62.32, 105.37°)
OKLaboklab(82.62% -0.0502 0.1372)
OKLCHoklch(82.62% 0.146 110.1)
XYZxyz(48.4598, 57.5753, 16.3434)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE51 #5351CE
analogous
#CE9251 #CCCE51 #8ECE51
triadic
#CCCE51 #51CCCE #CE51CC
tetradic
#CCCE51 #51CE92 #5351CE #CE518E
square
#CCCE51 #51CE92 #5351CE #CE518E
split-complementary
#CCCE51 #518ECE #9251CE
monochromatic
#7F8024 #AEB032 #CCCE51 #DADB81 #E8E9B1

Accessibility & contrast

On white

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

On black

12.51
#CCCE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE51
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE51#FFFFFF#000000##000000
##CCCE511.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#D9C2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce51;
/* rgb */ color: rgb(204, 206, 81);
/* oklch */ color: oklch(82.6% 0.146 110.1);
Tailwind
colors: {
  custom: {
    50: '#dedc87',
    500: '#ccce51',
    950: '#000000',
  },
}
SCSS
$custom: #ccce51;
$custom-light: #dedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce51",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 60.96,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82621,
    "c": 0.14612,
    "h": 110.1
  },
  "luminance": 0.57574
}

Semantic roles & 50–950 ramp

primary
#CCCE51
secondary
#3D3B88
accent
#48DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCCE51

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

Preview Lab → · Contrast checker → · Palette generator →

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