#CCCB74#CCCB74

#CCCB74 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.110 H 108.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CCCB74
RGBrgb(204, 203, 116)
HSLhsl(59, 46%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 0.5%, 43.1%, 20%)
CIE-LABlab(80.07, -12.07, 43.37)
CIE-LCHlch(80.07, 45.02, 105.56°)
OKLaboklab(82.4% -0.0339 0.1045)
OKLCHoklch(82.4% 0.11 108)
XYZxyz(49.4110, 56.8113, 24.8824)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB74 #7475CC
analogous
#CC9F74 #CCCB74 #A1CC74
triadic
#CCCB74 #74CCCB #CB74CC
tetradic
#CCCB74 #74CC9F #7475CC #CC74A1
square
#CCCB74 #74CC9F #7475CC #CC74A1
split-complementary
#CCCB74 #74A1CC #9F74CC
monochromatic
#919035 #BCBA47 #CCCB74 #DCDCA1 #EDECCE

Accessibility & contrast

On white

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

On black

12.36
#CCCB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB74
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB74#FFFFFF#000000##000000
##CCCB741.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#D9C878
Tritanopia (blue-blind)
#D7C1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb74;
/* rgb */ color: rgb(204, 203, 116);
/* oklch */ color: oklch(82.4% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddda9d',
    500: '#cccb74',
    950: '#000000',
  },
}
SCSS
$custom: #cccb74;
$custom-light: #ddda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb74",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 59.318,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.824,
    "c": 0.10983,
    "h": 108
  },
  "luminance": 0.5681
}

Semantic roles & 50–950 ramp

primary
#CCCB74
secondary
#4D4E97
accent
#2EBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCB74

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

Preview Lab → · Contrast checker → · Palette generator →

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