#CCCB5F#CCCB5F

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

Color values

HEX#CCCB5F
RGBrgb(204, 203, 95)
HSLhsl(59, 52%, 59%)
HSVhsv(59, 53%, 80%)
CMYKcmyk(0%, 0.5%, 53.4%, 20%)
CIE-LABlab(79.83, -13.98, 53.14)
CIE-LCHlch(79.83, 54.95, 104.74°)
OKLaboklab(82.13% -0.0415 0.1241)
OKLCHoklch(82.13% 0.131 108.5)
XYZxyz(48.3246, 56.3767, 19.1604)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB5F #5F60CC
analogous
#CC945F #CCCB5F #96CC5F
triadic
#CCCB5F #5FCCCB #CB5FCC
tetradic
#CCCB5F #5FCC94 #5F60CC #CC5F96
square
#CCCB5F #5FCC94 #5F60CC #CC5F96
split-complementary
#CCCB5F #5F96CC #945FCC
monochromatic
#86852B #B4B339 #CCCB5F #DBDA8D #EAE9BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCB5F#FFFFFF#000000##000000
##CCCB5F1.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)
#D9C454
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb5f;
/* rgb */ color: rgb(204, 203, 95);
/* oklch */ color: oklch(82.1% 0.131 108.5);
Tailwind
colors: {
  custom: {
    50: '#deda90',
    500: '#cccb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cccb5f;
$custom-light: #deda90;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb5f",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 59.45,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82125,
    "c": 0.13086,
    "h": 108.5
  },
  "luminance": 0.56375
}

Semantic roles & 50–950 ramp

primary
#CCCB5F
secondary
#42438D
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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