#CCD14F#CCD14F

#CCD14F is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.2% C 0.151 H 111.4°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CCD14F
RGBrgb(204, 209, 79)
HSLhsl(62, 59%, 56%)
HSVhsv(62, 62%, 82%)
CMYKcmyk(2.4%, 0%, 62.2%, 18%)
CIE-LABlab(81.29, -18.14, 61.78)
CIE-LCHlch(81.29, 64.38, 106.36°)
OKLaboklab(83.25% -0.0549 0.1405)
OKLCHoklch(83.25% 0.151 111.4)
XYZxyz(49.1150, 59.0040, 16.1973)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD14F #544FD1
analogous
#D1954F #CCD14F #8BD14F
triadic
#CCD14F #4FCCD1 #D14FCC
tetradic
#CCD14F #4FD195 #544FD1 #D14F8B
square
#CCD14F #4FD195 #544FD1 #D14F8B
split-complementary
#CCD14F #4F8BD1 #954FD1
monochromatic
#808322 #AFB42F #CCD14F #DADE80 #E8EAB0

Accessibility & contrast

On white

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

On black

12.80
#CCD14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD14F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD14F#FFFFFF#000000##000000
##CCD14F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83F
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#D9C5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd14f;
/* rgb */ color: rgb(204, 209, 79);
/* oklch */ color: oklch(83.2% 0.151 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede86',
    500: '#ccd14f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd14f;
$custom-light: #dede86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd14f",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 62.308,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83248,
    "c": 0.15088,
    "h": 111.4
  },
  "luminance": 0.59003
}

Semantic roles & 50–950 ramp

primary
#CCD14F
secondary
#3D3A8A
accent
#46E24C
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD14F

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

Preview Lab → · Contrast checker → · Palette generator →

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