#CCCF4E#CCCF4E

#CCCF4E is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.150 H 110.5°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CCCF4E
RGBrgb(204, 207, 78)
HSLhsl(61, 57%, 56%)
HSVhsv(61, 62%, 81%)
CMYKcmyk(1.4%, 0%, 62.3%, 18.8%)
CIE-LABlab(80.75, -17.21, 61.61)
CIE-LCHlch(80.75, 63.97, 105.61°)
OKLaboklab(82.81% -0.0524 0.14)
OKLCHoklch(82.81% 0.15 110.5)
XYZxyz(48.5912, 58.0143, 15.8445)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF4E #514ECF
analogous
#CF914E #CCCF4E #8BCF4E
triadic
#CCCF4E #4ECCCF #CF4ECC
tetradic
#CCCF4E #4ECF91 #514ECF #CF4E8B
square
#CCCF4E #4ECF91 #514ECF #CF4E8B
split-complementary
#CCCF4E #4E8BCF #914ECF
monochromatic
#7E8023 #ADB030 #CCCF4E #DADC7E #E8E9AE

Accessibility & contrast

On white

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

On black

12.60
#CCCF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF4E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF4E#FFFFFF#000000##000000
##CCCF4E1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63E
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf4e;
/* rgb */ color: rgb(204, 207, 78);
/* oklch */ color: oklch(82.8% 0.150 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd85',
    500: '#cccf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cccf4e;
$custom-light: #dedd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf4e",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 61.395,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82809,
    "c": 0.14951,
    "h": 110.5
  },
  "luminance": 0.58013
}

Semantic roles & 50–950 ramp

primary
#CCCF4E
secondary
#3C3A87
accent
#47E14B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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