#CCCE5F#CCCE5F

#CCCE5F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.134 H 109.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CCCE5F
RGBrgb(204, 206, 95)
HSLhsl(61, 53%, 59%)
HSVhsv(61, 54%, 81%)
CMYKcmyk(1%, 0%, 53.9%, 19.2%)
CIE-LABlab(80.63, -15.49, 54.07)
CIE-LCHlch(80.63, 56.24, 105.99°)
OKLaboklab(82.77% -0.0458 0.1261)
OKLCHoklch(82.77% 0.134 109.9)
XYZxyz(49.0399, 57.8074, 19.3989)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE5F #615FCE
analogous
#CE995F #CCCE5F #95CE5F
triadic
#CCCE5F #5FCCCE #CE5FCC
tetradic
#CCCE5F #5FCE99 #615FCE #CE5F95
square
#CCCE5F #5FCE99 #615FCE #CE5F95
split-complementary
#CCCE5F #5F95CE #995FCE
monochromatic
#87892A #B5B838 #CCCE5F #DBDC8E #EAEBBD

Accessibility & contrast

On white

1.67
#CCCE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CCCE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE5F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE5F#FFFFFF#000000##000000
##CCCE5F1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#D9C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce5f;
/* rgb */ color: rgb(204, 206, 95);
/* oklch */ color: oklch(82.8% 0.134 109.9);
Tailwind
colors: {
  custom: {
    50: '#dedc90',
    500: '#ccce5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccce5f;
$custom-light: #dedc90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce5f",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 61.081,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82766,
    "c": 0.13415,
    "h": 109.9
  },
  "luminance": 0.57806
}

Semantic roles & 50–950 ramp

primary
#CCCE5F
secondary
#43428F
accent
#4BDD4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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