#CCCF3E#CCCF3E

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

Color values

HEX#CCCF3E
RGBrgb(204, 207, 62)
HSLhsl(61, 60%, 53%)
HSVhsv(61, 70%, 81%)
CMYKcmyk(1.4%, 0%, 70%, 18.8%)
CIE-LABlab(80.63, -18.12, 67.67)
CIE-LCHlch(80.63, 70.05, 104.99°)
OKLaboklab(82.68% -0.0566 0.1503)
OKLCHoklch(82.68% 0.161 110.6)
XYZxyz(48.0858, 57.8121, 13.1823)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF3E #413ECF
analogous
#CF893E #CCCF3E #84CF3E
triadic
#CCCF3E #3ECCCF #CF3ECC
tetradic
#CCCF3E #3ECF89 #413ECF #CF3E84
square
#CCCF3E #3ECF89 #413ECF #CF3E84
split-complementary
#CCCF3E #3E84CF #893ECF
monochromatic
#74751D #A4A629 #CCCF3E #D9DB6F #E6E7A0

Accessibility & contrast

On white

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

On black

12.56
#CCCF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF3E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF3E#FFFFFF#000000##000000
##CCCF3E1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf3e;
/* rgb */ color: rgb(204, 207, 62);
/* oklch */ color: oklch(82.7% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#dfdd7d',
    500: '#cccf3e',
    950: '#000000',
  },
}
SCSS
$custom: #cccf3e;
$custom-light: #dfdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf3e",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 62
  },
  "hsl": {
    "h": 61.241,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82683,
    "c": 0.16058,
    "h": 110.6
  },
  "luminance": 0.57811
}

Semantic roles & 50–950 ramp

primary
#CCCF3E
secondary
#35337E
accent
#44E348
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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