#CCC147#CCC147

#CCC147 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.141 H 104.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CCC147
RGBrgb(204, 193, 71)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 5.4%, 65.2%, 20%)
CIE-LABlab(76.94, -10.59, 60.49)
CIE-LCHlch(76.94, 61.41, 99.93°)
OKLaboklab(79.76% -0.0345 0.1366)
OKLCHoklch(79.76% 0.141 104.2)
XYZxyz(45.1109, 51.4339, 13.5115)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC147 #4752CC
analogous
#CC7F47 #CCC147 #95CC47
triadic
#CCC147 #47CCC1 #C147CC
tetradic
#CCC147 #47CC7F #4752CC #CC4795
square
#CCC147 #47CC7F #4752CC #CC4795
split-complementary
#CCC147 #4795CC #7F47CC
monochromatic
#777021 #A79D2E #CCC147 #D9D177 #E7E1A7

Accessibility & contrast

On white

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

On black

11.29
#CCC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC147
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC147#FFFFFF#000000##000000
##CCC1471.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB37
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#DBB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc147;
/* rgb */ color: rgb(204, 193, 71);
/* oklch */ color: oklch(79.8% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd380',
    500: '#ccc147',
    950: '#000000',
  },
}
SCSS
$custom: #ccc147;
$custom-light: #dfd380;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc147",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 55.038,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79758,
    "c": 0.14089,
    "h": 104.2
  },
  "luminance": 0.51432
}

Semantic roles & 50–950 ramp

primary
#CCC147
secondary
#373D80
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC147

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

Preview Lab → · Contrast checker → · Palette generator →

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