#CCC14F#CCC14F

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

Color values

HEX#CCC14F
RGBrgb(204, 193, 79)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 5.4%, 61.3%, 20%)
CIE-LABlab(77.01, -10.09, 57.17)
CIE-LCHlch(77.01, 58.05, 100.01°)
OKLaboklab(79.83% -0.0321 0.1308)
OKLCHoklch(79.83% 0.135 103.8)
XYZxyz(45.3847, 51.5435, 14.9538)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC14F #4F5ACC
analogous
#CC824F #CCC14F #98CC4F
triadic
#CCC14F #4FCCC1 #C14FCC
tetradic
#CCC14F #4FCC82 #4F5ACC #CC4F98
square
#CCC14F #4FCC82 #4F5ACC #CC4F98
split-complementary
#CCC14F #4F98CC #824FCC
monochromatic
#7D7524 #ACA132 #CCC14F #DAD27E #E7E2AE

Accessibility & contrast

On white

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

On black

11.31
#CCC14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC14F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC14F#FFFFFF#000000##000000
##CCC14F1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#DAB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc14f;
/* rgb */ color: rgb(204, 193, 79);
/* oklch */ color: oklch(79.8% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded385',
    500: '#ccc14f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc14f;
$custom-light: #ded385;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc14f",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 54.72,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.13465,
    "h": 103.8
  },
  "luminance": 0.51542
}

Semantic roles & 50–950 ramp

primary
#CCC14F
secondary
#3B4184
accent
#57DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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