#CCCB61#CCCB61

#CCCB61 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.129 H 108.4°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CCCB61
RGBrgb(204, 203, 97)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 0.5%, 52.5%, 20%)
CIE-LABlab(79.85, -13.82, 52.24)
CIE-LCHlch(79.85, 54.04, 104.82°)
OKLaboklab(82.15% -0.0408 0.1224)
OKLCHoklch(82.15% 0.129 108.4)
XYZxyz(48.4167, 56.4136, 19.6454)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB61 #6162CC
analogous
#CC9661 #CCCB61 #98CC61
triadic
#CCCB61 #61CCCB #CB61CC
tetradic
#CCCB61 #61CC96 #6162CC #CC6198
square
#CCCB61 #61CC96 #6162CC #CC6198
split-complementary
#CCCB61 #6198CC #9661CC
monochromatic
#87862C #B5B43B #CCCB61 #DBDA8F #EAE9BE

Accessibility & contrast

On white

1.71
#CCCB61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CCCB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB61
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB61#FFFFFF#000000##000000
##CCCB611.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C457
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb61;
/* rgb */ color: rgb(204, 203, 97);
/* oklch */ color: oklch(82.1% 0.129 108.4);
Tailwind
colors: {
  custom: {
    50: '#deda91',
    500: '#cccb61',
    950: '#000000',
  },
}
SCSS
$custom: #cccb61;
$custom-light: #deda91;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb61",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 97
  },
  "hsl": {
    "h": 59.439,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82149,
    "c": 0.12899,
    "h": 108.4
  },
  "luminance": 0.56412
}

Semantic roles & 50–950 ramp

primary
#CCCB61
secondary
#43448E
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCB61

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

Preview Lab → · Contrast checker → · Palette generator →

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