#CCC748#CCC748

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

Color values

HEX#CCC748
RGBrgb(204, 199, 72)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2.5%, 64.7%, 20%)
CIE-LABlab(78.55, -13.58, 61.76)
CIE-LCHlch(78.55, 63.23, 102.40°)
OKLaboklab(81.04% -0.0428 0.1394)
OKLCHoklch(81.04% 0.146 107.1)
XYZxyz(46.4966, 54.1536, 14.1331)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC748 #484DCC
analogous
#CC8548 #CCC748 #8FCC48
triadic
#CCC748 #48CCC7 #C748CC
tetradic
#CCC748 #48CC85 #484DCC #CC488F
square
#CCC748 #48CC85 #484DCC #CC488F
split-complementary
#CCC748 #488FCC #8548CC
monochromatic
#787521 #A8A32F #CCC748 #D9D678 #E7E4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC748#FFFFFF#000000##000000
##CCC7481.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)
#D7C037
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc748;
/* rgb */ color: rgb(204, 199, 72);
/* oklch */ color: oklch(81.0% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#ccc748',
    950: '#000000',
  },
}
SCSS
$custom: #ccc748;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc748",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 57.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81042,
    "c": 0.14586,
    "h": 107.1
  },
  "luminance": 0.54152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC748

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

Preview Lab → · Contrast checker → · Palette generator →

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