#CCC14D#CCC14D

#CCC14D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.136 H 103.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CCC14D
RGBrgb(204, 193, 77)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 62.3%, 20%)
CIE-LABlab(76.99, -10.22, 58.02)
CIE-LCHlch(76.99, 58.91, 99.99°)
OKLaboklab(79.81% -0.0327 0.1323)
OKLCHoklch(79.81% 0.136 103.9)
XYZxyz(45.3130, 51.5148, 14.5762)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC14D #4D58CC
analogous
#CC814D #CCC14D #98CC4D
triadic
#CCC14D #4DCCC1 #C14DCC
tetradic
#CCC14D #4DCC81 #4D58CC #CC4D98
square
#CCC14D #4DCC81 #4D58CC #CC4D98
split-complementary
#CCC14D #4D98CC #814DCC
monochromatic
#7B7423 #ABA031 #CCC14D #DAD27D #E7E2AC

Accessibility & contrast

On white

1.86
#CCC14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CCC14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC14D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC14D#FFFFFF#000000##000000
##CCC14D1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#DAB5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc14d;
/* rgb */ color: rgb(204, 193, 77);
/* oklch */ color: oklch(79.8% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded384',
    500: '#ccc14d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc14d;
$custom-light: #ded384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc14d",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 54.803,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79812,
    "c": 0.13627,
    "h": 103.9
  },
  "luminance": 0.51513
}

Semantic roles & 50–950 ramp

primary
#CCC14D
secondary
#3A4083
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC14D

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

Preview Lab → · Contrast checker → · Palette generator →

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