#CCCE7B#CCCE7B

#CCCE7B is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.1% C 0.106 H 109.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CCCE7B
RGBrgb(204, 206, 123)
HSLhsl(61, 46%, 65%)
HSVhsv(61, 40%, 81%)
CMYKcmyk(1%, 0%, 40.3%, 19.2%)
CIE-LABlab(80.97, -12.86, 41.00)
CIE-LCHlch(80.97, 42.97, 107.42°)
OKLaboklab(83.14% -0.0356 0.0995)
OKLCHoklch(83.14% 0.106 109.7)
XYZxyz(50.5490, 58.4110, 27.3467)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE7B #7D7BCE
analogous
#CEA77B #CCCE7B #A3CE7B
triadic
#CCCE7B #7BCCCE #CE7BCC
tetradic
#CCCE7B #7BCEA7 #7D7BCE #CE7BA3
square
#CCCE7B #7BCEA7 #7D7BCE #CE7BA3
split-complementary
#CCCE7B #7BA3CE #A77BCE
monochromatic
#949738 #BBBD4E #CCCE7B #DDDFA8 #EEEFD4

Accessibility & contrast

On white

1.66
#CCCE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#CCCE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE7B
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE7B#FFFFFF#000000##000000
##CCCE7B1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC775
Deuteranopia (green-blind)
#DBCA7F
Tritanopia (blue-blind)
#D6C5BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce7b;
/* rgb */ color: rgb(204, 206, 123);
/* oklch */ color: oklch(83.1% 0.106 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddca2',
    500: '#ccce7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccce7b;
$custom-light: #dddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce7b",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 123
  },
  "hsl": {
    "h": 61.446,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.10572,
    "h": 109.7
  },
  "luminance": 0.5841
}

Semantic roles & 50–950 ramp

primary
#CCCE7B
secondary
#52519D
accent
#2CB930
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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