#CCCE5D#CCCE5D

#CCCE5D is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.136 H 110.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CCCE5D
RGBrgb(204, 206, 93)
HSLhsl(61, 54%, 59%)
HSVhsv(61, 55%, 81%)
CMYKcmyk(1%, 0%, 54.9%, 19.2%)
CIE-LABlab(80.61, -15.65, 54.95)
CIE-LCHlch(80.61, 57.14, 105.89°)
OKLaboklab(82.74% -0.0464 0.1278)
OKLCHoklch(82.74% 0.136 110)
XYZxyz(48.9502, 57.7715, 18.9262)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE5D #5F5DCE
analogous
#CE975D #CCCE5D #93CE5D
triadic
#CCCE5D #5DCCCE #CE5DCC
tetradic
#CCCE5D #5DCE97 #5F5DCE #CE5D93
square
#CCCE5D #5DCE97 #5F5DCE #CE5D93
split-complementary
#CCCE5D #5D93CE #975DCE
monochromatic
#868829 #B4B737 #CCCE5D #DBDC8C #EAEABB

Accessibility & contrast

On white

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

On black

12.55
#CCCE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE5D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE5D#FFFFFF#000000##000000
##CCCE5D1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccce5d;
/* rgb */ color: rgb(204, 206, 93);
/* oklch */ color: oklch(82.7% 0.136 110.0);
Tailwind
colors: {
  custom: {
    50: '#dedc8e',
    500: '#ccce5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccce5d;
$custom-light: #dedc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce5d",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 93
  },
  "hsl": {
    "h": 61.062,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82744,
    "c": 0.13595,
    "h": 110
  },
  "luminance": 0.5777
}

Semantic roles & 50–950 ramp

primary
#CCCE5D
secondary
#42418E
accent
#4BDD4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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