#CCCF7A#CCCF7A

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

Color values

HEX#CCCF7A
RGBrgb(204, 207, 122)
HSLhsl(62, 47%, 65%)
HSVhsv(62, 41%, 81%)
CMYKcmyk(1.4%, 0%, 41.1%, 18.8%)
CIE-LABlab(81.22, -13.47, 41.82)
CIE-LCHlch(81.22, 43.93, 107.86°)
OKLaboklab(83.34% -0.0374 0.1013)
OKLCHoklch(83.34% 0.108 110.3)
XYZxyz(50.7282, 58.8691, 27.0992)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF7A #7D7ACF
analogous
#CFA87A #CCCF7A #A2CF7A
triadic
#CCCF7A #7ACCCF #CF7ACC
tetradic
#CCCF7A #7ACFA8 #7D7ACF #CF7AA2
square
#CCCF7A #7ACFA8 #7D7ACF #CF7AA2
split-complementary
#CCCF7A #7AA2CF #A87ACF
monochromatic
#949837 #BBBF4D #CCCF7A #DDDFA7 #EEEFD4

Accessibility & contrast

On white

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

On black

12.77
#CCCF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF7A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF7A#FFFFFF#000000##000000
##CCCF7A1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC873
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#D6C6BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf7a;
/* rgb */ color: rgb(204, 207, 122);
/* oklch */ color: oklch(83.3% 0.108 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda2',
    500: '#cccf7a',
    950: '#000000',
  },
}
SCSS
$custom: #cccf7a;
$custom-light: #dddda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf7a",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 62.118,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83339,
    "c": 0.10803,
    "h": 110.3
  },
  "luminance": 0.58868
}

Semantic roles & 50–950 ramp

primary
#CCCF7A
secondary
#52509E
accent
#2BBA30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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