#CCCD2C#CCCD2C

#CCCD2C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.1% C 0.168 H 110.0°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CCCD2C
RGBrgb(204, 205, 44)
HSLhsl(60, 65%, 49%)
HSVhsv(60, 79%, 80%)
CMYKcmyk(0.5%, 0%, 78.5%, 19.6%)
CIE-LABlab(80.00, -17.88, 72.83)
CIE-LCHlch(80.00, 74.99, 103.79°)
OKLaboklab(82.15% -0.0574 0.1581)
OKLCHoklch(82.15% 0.168 110)
XYZxyz(47.1896, 56.6833, 10.8376)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD2C #2D2CCD
analogous
#CD7E2C #CCCD2C #7CCD2C
triadic
#CCCD2C #2CCCCD #CD2CCC
tetradic
#CCCD2C #2CCD7E #2D2CCD #CD2C7C
square
#CCCD2C #2CCD7E #2D2CCD #CD2C7C
split-complementary
#CCCD2C #2C7CCD #7E2CCD
monochromatic
#686816 #9A9B21 #CCCD2C #DBDC5B #E6E78D

Accessibility & contrast

On white

1.70
#CCCD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CCCD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD2C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD2C#FFFFFF#000000##000000
##CCCD2C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DFC93B
Tritanopia (blue-blind)
#DBC0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccd2c;
/* rgb */ color: rgb(204, 205, 44);
/* oklch */ color: oklch(82.1% 0.168 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0dc74',
    500: '#cccd2c',
    950: '#000000',
  },
}
SCSS
$custom: #cccd2c;
$custom-light: #e0dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd2c",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 60.373,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.82147,
    "c": 0.16819,
    "h": 110
  },
  "luminance": 0.56682
}

Semantic roles & 50–950 ramp

primary
#CCCD2C
secondary
#2B2B72
accent
#40E841
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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