#CCCB62#CCCB62

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

Color values

HEX#CCCB62
RGBrgb(204, 203, 98)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 0.5%, 52%, 20%)
CIE-LABlab(79.86, -13.74, 51.79)
CIE-LCHlch(79.86, 53.58, 104.85°)
OKLaboklab(82.16% -0.0405 0.1215)
OKLCHoklch(82.16% 0.128 108.4)
XYZxyz(48.4636, 56.4323, 19.8925)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB62 #6263CC
analogous
#CC9662 #CCCB62 #98CC62
triadic
#CCCB62 #62CCCB #CB62CC
tetradic
#CCCB62 #62CC96 #6263CC #CC6298
square
#CCCB62 #62CC96 #6263CC #CC6298
split-complementary
#CCCB62 #6298CC #9662CC
monochromatic
#88872C #B6B53B #CCCB62 #DBDA90 #EAEABE

Accessibility & contrast

On white

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

On black

12.29
#CCCB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB62
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB62#FFFFFF#000000##000000
##CCCB621.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb62;
/* rgb */ color: rgb(204, 203, 98);
/* oklch */ color: oklch(82.2% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#deda92',
    500: '#cccb62',
    950: '#000000',
  },
}
SCSS
$custom: #cccb62;
$custom-light: #deda92;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb62",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 59.434,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82161,
    "c": 0.12805,
    "h": 108.4
  },
  "luminance": 0.56431
}

Semantic roles & 50–950 ramp

primary
#CCCB62
secondary
#44448F
accent
#4FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCB62

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

Preview Lab → · Contrast checker → · Palette generator →

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