#CCC347#CCC347

#CCC347 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.143 H 105.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CCC347
RGBrgb(204, 195, 71)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 65%, 80%)
CMYKcmyk(0%, 4.4%, 65.2%, 20%)
CIE-LABlab(77.47, -11.61, 61.04)
CIE-LCHlch(77.47, 62.14, 100.77°)
OKLaboklab(80.18% -0.0373 0.1378)
OKLCHoklch(80.18% 0.143 105.2)
XYZxyz(45.5560, 52.3242, 13.6599)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC347 #4750CC
analogous
#CC8147 #CCC347 #93CC47
triadic
#CCC347 #47CCC3 #C347CC
tetradic
#CCC347 #47CC81 #4750CC #CC4793
square
#CCC347 #47CC81 #4750CC #CC4793
split-complementary
#CCC347 #4793CC #8147CC
monochromatic
#777221 #A79F2E #CCC347 #D9D377 #E7E2A7

Accessibility & contrast

On white

1.83
#CCC347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CCC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC347
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC347#FFFFFF#000000##000000
##CCC3471.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc347;
/* rgb */ color: rgb(204, 195, 71);
/* oklch */ color: oklch(80.2% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd480',
    500: '#ccc347',
    950: '#000000',
  },
}
SCSS
$custom: #ccc347;
$custom-light: #dfd480;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc347",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 55.94,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.14275,
    "h": 105.2
  },
  "luminance": 0.52323
}

Semantic roles & 50–950 ramp

primary
#CCC347
secondary
#373C80
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC347

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

Preview Lab → · Contrast checker → · Palette generator →

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