#CCCF46#CCCF46

#CCCF46 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.7% C 0.155 H 110.6°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CCCF46
RGBrgb(204, 207, 70)
HSLhsl(61, 59%, 54%)
HSVhsv(61, 66%, 81%)
CMYKcmyk(1.4%, 0%, 66.2%, 18.8%)
CIE-LABlab(80.69, -17.69, 64.75)
CIE-LCHlch(80.69, 67.12, 105.28°)
OKLaboklab(82.74% -0.0546 0.1454)
OKLCHoklch(82.74% 0.155 110.6)
XYZxyz(48.3217, 57.9065, 14.4248)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF46 #4946CF
analogous
#CF8E46 #CCCF46 #88CF46
triadic
#CCCF46 #46CCCF #CF46CC
tetradic
#CCCF46 #46CF8E #4946CF #CF4688
square
#CCCF46 #46CF8E #4946CF #CF4688
split-complementary
#CCCF46 #4688CF #8E46CF
monochromatic
#797B20 #A9AB2C #CCCF46 #D9DC77 #E7E8A7

Accessibility & contrast

On white

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

On black

12.58
#CCCF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF46
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF46#FFFFFF#000000##000000
##CCCF461.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC632
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#DAC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf46;
/* rgb */ color: rgb(204, 207, 70);
/* oklch */ color: oklch(82.7% 0.155 110.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd81',
    500: '#cccf46',
    950: '#000000',
  },
}
SCSS
$custom: #cccf46;
$custom-light: #dfdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf46",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 61.314,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82742,
    "c": 0.15534,
    "h": 110.6
  },
  "luminance": 0.57905
}

Semantic roles & 50–950 ramp

primary
#CCCF46
secondary
#383683
accent
#46E249
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCF46

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

Preview Lab → · Contrast checker → · Palette generator →

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