#CCCB7E#CCCB7E

#CCCB7E is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.099 H 107.7°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CCCB7E
RGBrgb(204, 203, 126)
HSLhsl(59, 43%, 65%)
HSVhsv(59, 38%, 80%)
CMYKcmyk(0%, 0.5%, 38.2%, 20%)
CIE-LABlab(80.21, -11.01, 38.53)
CIE-LCHlch(80.21, 40.07, 105.95°)
OKLaboklab(82.56% -0.0301 0.0941)
OKLCHoklch(82.56% 0.099 107.7)
XYZxyz(50.0243, 57.0566, 28.1124)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB7E #7E7FCC
analogous
#CCA47E #CCCB7E #A6CC7E
triadic
#CCCB7E #7ECCCB #CB7ECC
tetradic
#CCCB7E #7ECCA4 #7E7FCC #CC7EA6
square
#CCCB7E #7ECCA4 #7E7FCC #CC7EA6
split-complementary
#CCCB7E #7EA6CC #A47ECC
monochromatic
#95943B #BBB952 #CCCB7E #DDDDAA #EFEED6

Accessibility & contrast

On white

1.69
#CCCB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CCCB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB7E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB7E#FFFFFF#000000##000000
##CCCB7E1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C578
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#D6C2B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb7e;
/* rgb */ color: rgb(204, 203, 126);
/* oklch */ color: oklch(82.6% 0.099 107.7);
Tailwind
colors: {
  custom: {
    50: '#dddaa4',
    500: '#cccb7e',
    950: '#000000',
  },
}
SCSS
$custom: #cccb7e;
$custom-light: #dddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb7e",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 126
  },
  "hsl": {
    "h": 59.231,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82555,
    "c": 0.09877,
    "h": 107.7
  },
  "luminance": 0.57056
}

Semantic roles & 50–950 ramp

primary
#CCCB7E
secondary
#53549B
accent
#31B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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