#CCCF4F#CCCF4F

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

Color values

HEX#CCCF4F
RGBrgb(204, 207, 79)
HSLhsl(61, 57%, 56%)
HSVhsv(61, 62%, 81%)
CMYKcmyk(1.4%, 0%, 61.8%, 18.8%)
CIE-LABlab(80.75, -17.15, 61.20)
CIE-LCHlch(80.75, 63.56, 105.65°)
OKLaboklab(82.82% -0.0521 0.1393)
OKLCHoklch(82.82% 0.149 110.5)
XYZxyz(48.6274, 58.0288, 16.0347)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF4F #524FCF
analogous
#CF924F #CCCF4F #8CCF4F
triadic
#CCCF4F #4FCCCF #CF4FCC
tetradic
#CCCF4F #4FCF92 #524FCF #CF4F8C
square
#CCCF4F #4FCF92 #524FCF #CF4F8C
split-complementary
#CCCF4F #4F8CCF #924FCF
monochromatic
#7E8123 #AEB130 #CCCF4F #DADC7F #E8E9AF

Accessibility & contrast

On white

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

On black

12.61
#CCCF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF4F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF4F#FFFFFF#000000##000000
##CCCF4F1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf4f;
/* rgb */ color: rgb(204, 207, 79);
/* oklch */ color: oklch(82.8% 0.149 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd86',
    500: '#cccf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf4f;
$custom-light: #dedd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf4f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 61.406,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82818,
    "c": 0.14875,
    "h": 110.5
  },
  "luminance": 0.58028
}

Semantic roles & 50–950 ramp

primary
#CCCF4F
secondary
#3C3A88
accent
#47E04B
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCCF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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