#CCC747#CCC747

#CCC747 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.147 H 107.1°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CCC747
RGBrgb(204, 199, 71)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2.5%, 65.2%, 20%)
CIE-LABlab(78.54, -13.64, 62.15)
CIE-LCHlch(78.54, 63.63, 102.38°)
OKLaboklab(81.03% -0.0431 0.1401)
OKLCHoklch(81.03% 0.147 107.1)
XYZxyz(46.4642, 54.1407, 13.9627)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC747 #474CCC
analogous
#CC8547 #CCC747 #8FCC47
triadic
#CCC747 #47CCC7 #C747CC
tetradic
#CCC747 #47CC85 #474CCC #CC478F
square
#CCC747 #47CC85 #474CCC #CC478F
split-complementary
#CCC747 #478FCC #8547CC
monochromatic
#777421 #A7A32E #CCC747 #D9D677 #E7E4A7

Accessibility & contrast

On white

1.78
#CCC747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CCC747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC747
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC747#FFFFFF#000000##000000
##CCC7471.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C036
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc747;
/* rgb */ color: rgb(204, 199, 71);
/* oklch */ color: oklch(81.0% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#ccc747',
    950: '#000000',
  },
}
SCSS
$custom: #ccc747;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc747",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 57.744,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81034,
    "c": 0.14659,
    "h": 107.1
  },
  "luminance": 0.54139
}

Semantic roles & 50–950 ramp

primary
#CCC747
secondary
#373A80
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC747

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

Preview Lab → · Contrast checker → · Palette generator →

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