#CCB14C#CCB14C

#CCB14C is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.124 H 94.3°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CCB14C
RGBrgb(204, 177, 76)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 63%, 80%)
CMYKcmyk(0%, 13.2%, 62.7%, 20%)
CIE-LABlab(72.76, -1.97, 53.87)
CIE-LCHlch(72.76, 53.90, 92.10°)
OKLaboklab(76.46% -0.0093 0.1233)
OKLCHoklch(76.46% 0.124 94.3)
XYZxyz(41.9304, 44.8056, 13.2758)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB14C #4C67CC
analogous
#CC714C #CCB14C #A7CC4C
triadic
#CCB14C #4CCCB1 #B14CCC
tetradic
#CCB14C #4CCC71 #4C67CC #CC4CA7
square
#CCB14C #4CCC71 #4C67CC #CC4CA7
split-complementary
#CCB14C #4CA7CC #714CCC
monochromatic
#7B6823 #AA9131 #CCB14C #DAC67C #E7DBAB

Accessibility & contrast

On white

2.11
#CCB14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CCB14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB14C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB14C#FFFFFF#000000##000000
##CCB14C1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE41
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DBA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb14c;
/* rgb */ color: rgb(204, 177, 76);
/* oklch */ color: oklch(76.5% 0.124 94.3);
Tailwind
colors: {
  custom: {
    50: '#dfc882',
    500: '#ccb14c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb14c;
$custom-light: #dfc882;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb14c",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 76
  },
  "hsl": {
    "h": 47.344,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.12367,
    "h": 94.3
  },
  "luminance": 0.44803
}

Semantic roles & 50–950 ramp

primary
#CCB14C
secondary
#9FAAD5
accent
#69DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB14C

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

Preview Lab → · Contrast checker → · Palette generator →

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