#CCCF7B#CCCF7B

#CCCF7B is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.107 H 110.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CCCF7B
RGBrgb(204, 207, 123)
HSLhsl(62, 47%, 65%)
HSVhsv(62, 41%, 81%)
CMYKcmyk(1.4%, 0%, 40.6%, 18.8%)
CIE-LABlab(81.23, -13.37, 41.33)
CIE-LCHlch(81.23, 43.44, 107.92°)
OKLaboklab(83.35% -0.0371 0.1003)
OKLCHoklch(83.35% 0.107 110.3)
XYZxyz(50.7905, 58.8940, 27.4272)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF7B #7E7BCF
analogous
#CFA87B #CCCF7B #A2CF7B
triadic
#CCCF7B #7BCCCF #CF7BCC
tetradic
#CCCF7B #7BCFA8 #7E7BCF #CF7BA2
square
#CCCF7B #7BCFA8 #7E7BCF #CF7BA2
split-complementary
#CCCF7B #7BA2CF #A87BCF
monochromatic
#959837 #BBBF4E #CCCF7B #DDDFA8 #EFF0D5

Accessibility & contrast

On white

1.64
#CCCF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CCCF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF7B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF7B#FFFFFF#000000##000000
##CCCF7B1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC874
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#D6C6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf7b;
/* rgb */ color: rgb(204, 207, 123);
/* oklch */ color: oklch(83.4% 0.107 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda2',
    500: '#cccf7b',
    950: '#000000',
  },
}
SCSS
$custom: #cccf7b;
$custom-light: #dddda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf7b",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 62.143,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83354,
    "c": 0.10693,
    "h": 110.3
  },
  "luminance": 0.58893
}

Semantic roles & 50–950 ramp

primary
#CCCF7B
secondary
#53509E
accent
#2CBA31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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