#CCC14E#CCC14E

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

Color values

HEX#CCC14E
RGBrgb(204, 193, 78)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 61.8%, 20%)
CIE-LABlab(77.00, -10.15, 57.59)
CIE-LCHlch(77.00, 58.48, 100.00°)
OKLaboklab(79.82% -0.0324 0.1315)
OKLCHoklch(79.82% 0.135 103.9)
XYZxyz(45.3486, 51.5290, 14.7636)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC14E #4E59CC
analogous
#CC824E #CCC14E #98CC4E
triadic
#CCC14E #4ECCC1 #C14ECC
tetradic
#CCC14E #4ECC82 #4E59CC #CC4E98
square
#CCC14E #4ECC82 #4E59CC #CC4E98
split-complementary
#CCC14E #4E98CC #824ECC
monochromatic
#7C7424 #ABA131 #CCC14E #DAD27E #E7E2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC14E#FFFFFF#000000##000000
##CCC14E1.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)
#D1BB41
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#DAB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc14e;
/* rgb */ color: rgb(204, 193, 78);
/* oklch */ color: oklch(79.8% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded384',
    500: '#ccc14e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc14e;
$custom-light: #ded384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc14e",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 78
  },
  "hsl": {
    "h": 54.762,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79822,
    "c": 0.13546,
    "h": 103.9
  },
  "luminance": 0.51527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC14E

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

Preview Lab → · Contrast checker → · Palette generator →

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