#CCCE5B#CCCE5B

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

Color values

HEX#CCCE5B
RGBrgb(204, 206, 91)
HSLhsl(61, 54%, 58%)
HSVhsv(61, 56%, 81%)
CMYKcmyk(1%, 0%, 55.8%, 19.2%)
CIE-LABlab(80.59, -15.80, 55.83)
CIE-LCHlch(80.59, 58.03, 105.80°)
OKLaboklab(82.72% -0.0471 0.1294)
OKLCHoklch(82.72% 0.138 110)
XYZxyz(48.8628, 57.7365, 18.4658)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE5B #5D5BCE
analogous
#CE965B #CCCE5B #93CE5B
triadic
#CCCE5B #5BCCCE #CE5BCC
tetradic
#CCCE5B #5BCE96 #5D5BCE #CE5B93
square
#CCCE5B #5BCE96 #5D5BCE #CE5B93
split-complementary
#CCCE5B #5B93CE #965BCE
monochromatic
#858628 #B3B636 #CCCE5B #DBDC8A #E9EAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCE5B#FFFFFF#000000##000000
##CCCE5B1.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)
#DDC64F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#D9C2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce5b;
/* rgb */ color: rgb(204, 206, 91);
/* oklch */ color: oklch(82.7% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#dedc8d',
    500: '#ccce5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccce5b;
$custom-light: #dedc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce5b",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 61.043,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82722,
    "c": 0.13773,
    "h": 110
  },
  "luminance": 0.57735
}

Semantic roles & 50–950 ramp

primary
#CCCE5B
secondary
#41408D
accent
#4ADD4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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